mirror of
https://github.com/danog/postgres.git
synced 2024-11-30 04:29:12 +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:
parent
225776c542
commit
b8e9d37094
@ -25,8 +25,11 @@ class PqConnection extends Connection {
|
|||||||
} catch (pq\Exception $exception) {
|
} catch (pq\Exception $exception) {
|
||||||
return new Failure(new ConnectionException("Could not connect to PostgreSQL server", 0, $exception));
|
return new Failure(new ConnectionException("Could not connect to PostgreSQL server", 0, $exception));
|
||||||
}
|
}
|
||||||
|
|
||||||
$connection->nonblocking = true;
|
$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;
|
$deferred = new Deferred;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user