1
0
mirror of https://github.com/danog/postgres.git synced 2024-11-26 20:15:02 +01:00

Disable unbuffered results

Disabling unbuffered results for now as there appears to be a bug when unbuffered results contain arrays.
This commit is contained in:
Aaron Piotrowski 2018-01-25 00:31:52 -06:00
parent 225776c542
commit b8e9d37094
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB

View File

@ -25,8 +25,11 @@ class PqConnection extends Connection {
} catch (pq\Exception $exception) {
return new Failure(new ConnectionException("Could not connect to PostgreSQL server", 0, $exception));
}
$connection->nonblocking = true;
$connection->unbuffered = true;
// Disabling unbuffered results for now as there appears to be a bug when unbuffered results contain arrays.
// $connection->unbuffered = true;
$deferred = new Deferred;