1
0
mirror of https://github.com/danog/postgres.git synced 2024-12-15 19:07:26 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
Aaron Piotrowski
8a0f967828
Restructure try/catch/finally to avoid 7.0 bug 2017-11-18 23:30:33 -06:00
Aaron Piotrowski
9b5b0022e4
Rename CompletionQueue → ReferenceQueue 2017-11-17 22:00:52 -06:00
Aaron Piotrowski
a8d940dea0
Change execute() from variadic to accepting an array 2017-11-17 21:33:49 -06:00
Aaron Piotrowski
0cf843ea82
Check if connection is lost 2017-11-05 22:36:22 -06:00
Aaron Piotrowski
7083d18461
Fix issue with discarded result sets; add related test 2017-11-05 18:50:52 -06:00
Aaron Piotrowski
eb965b30dd
Remove PendingOperationError / update docs 2017-11-05 15:43:40 -06:00
Aaron Piotrowski
88808aa654
Add isAlive() method to connection handles
Used in pool to drop dead connections from the pool automatically.
2017-11-05 15:38:17 -06:00
Aaron Piotrowski
68c3c5fcb5
Check polling status even without active query 2017-11-05 11:28:32 -06:00
Aaron Piotrowski
2f0017c7a4
Add Handle interface and Pool::getConnection()
Adds quoteString() and quoteName() methods. Pool::getConnection() returns a promise that resolves to an instance of PooledConnection.
2017-08-01 00:38:12 -05:00