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

18 Commits

Author SHA1 Message Date
Aaron Piotrowski
35b7e664fb
Improve ReferenceQueue and better transaction ref/unref 2017-11-22 20:34:48 -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
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
32369079e6
Drop Operation trait
Replaced with CompletionQueue.
2017-08-03 00:42:53 -05: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
Aaron Piotrowski
a18d7386bf
Remove __destruct() from Internal\Operation
Users now define their own destruct methods invoking complete().
2017-07-29 10:25:06 -05:00
Aaron Piotrowski
fac9041cac
Update and fix code styles
Changed to match code styles used in other Amp packages.
2017-06-20 22:59:42 -05:00
Aaron Piotrowski
dd9c4c649d Simplify transaction commit and rollback 2017-05-28 08:10:57 -05:00
Aaron Piotrowski
e0a842bad7 Disallow multiple operations on single connection
Pools can still be used for concurrent ops.
2017-05-26 13:14:04 -05:00
Bob Weinand
7c00cf1fb0 Refix style fixed code 2017-05-17 18:14:12 +02:00
Aaron Piotrowski
2776a0344e Update code styles 2017-05-15 23:28:37 -05:00
Aaron Piotrowski
04a6463888 Update for async-interop merge and other Amp changes 2017-03-17 10:17:24 -05:00
Aaron Piotrowski
1e3874856d Update for async-interop namespace change and Amp name changes 2017-01-18 11:08:45 -06:00
Aaron Piotrowski
5d687a6cb5 Drop strict types 2016-12-29 23:21:17 -06:00
Aaron Piotrowski
0fb3f9bfdb Awaitable → Promise 2016-11-15 11:06:21 -06:00
Aaron Piotrowski
21f5d4427d Fix nofication listening; add notify() method to Executor 2016-09-21 00:18:24 -05:00
Aaron Piotrowski
caf829a48c Initial commit 2016-09-14 09:27:39 -05:00