1
0
mirror of https://github.com/danog/postgres.git synced 2024-12-14 02:17:27 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
Aaron Piotrowski
ddb3b5638c
Update pool connection creation 2017-12-10 09:53:52 -06:00
Aaron Piotrowski
02265884d3
Drop do*() private methods 2017-12-03 21:50:28 -06:00
Aaron Piotrowski
e709a1cb04
Replace getConnection() with extractConnection() 2017-11-22 20:34:08 -06:00
Aaron Piotrowski
8dd0556a3c
Hold statements from pools 2017-11-17 23:55:16 -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
eb9546b20d
Prevent reuse of connection after prepare
Prevents overlap of commands at the cost of a long-held prepare may block commands.
2017-08-01 23:35:48 -05:00
Aaron Piotrowski
202caf8552
Add Link interface; make PooledConnection internal
Cleaned up interfaces. Users can declare Executor or Link depending on their needs.
2017-08-01 23:01:55 -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
fac9041cac
Update and fix code styles
Changed to match code styles used in other Amp packages.
2017-06-20 22:59:42 -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
ca31429f79 Reuse one connection for listeners 2016-10-05 09:52:16 -05:00
Aaron Piotrowski
21f5d4427d Fix nofication listening; add notify() method to Executor 2016-09-21 00:18:24 -05:00
Aaron Piotrowski
23129d66b5 Add listen support 2016-09-19 11:12:32 -05:00
Aaron Piotrowski
62a5fe7c93 Fix waiting for connection 2016-09-14 23:37:09 -05:00
Aaron Piotrowski
5d90dfd5eb Yield awaitable, not deferred 2016-09-14 09:40:58 -05:00
Aaron Piotrowski
caf829a48c Initial commit 2016-09-14 09:27:39 -05:00