1
0
mirror of https://github.com/danog/postgres.git synced 2024-11-27 04:24:45 +01:00
Commit Graph

39 Commits

Author SHA1 Message Date
Aaron Piotrowski
65ede1b786
Allow simultaneous querys again and deallocate pgsql statements
Deallocating queries without potential race conditions required allowing simultaneous queries.
2017-07-27 00:32:34 -05:00
Pieter Hordijk
53559d1910 Store the statement name in the statement
Also reverted hashing in `Connection::execute` because that's not
actually a prepared statement
2017-07-26 23:38:00 -05:00
Pieter Hordijk
08e3432995 Fixes the issue where the prepared statement's plan_name is truncated 2017-07-26 23:38:00 -05:00
Aaron Piotrowski
8e37f2aaa6
Refactor read watcher 2017-06-21 19:12:45 -05:00
Aaron Piotrowski
24fe594dd6
Minor executor changes and test updates 2017-06-20 23:04:54 -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
fe659ea5e6 Error on multiple calls to listen on same channel 2017-06-13 00:34:20 -05:00
Aaron Piotrowski
b72bd95bae Throw Error for invalid connection count 2017-06-04 23:42:35 -05:00
Aaron Piotrowski
5591f46daa Connect cancellation 2017-06-04 23:42:18 -05:00
Aaron Piotrowski
a6394f67b2 Specify method name only 2017-06-04 22:15:50 -05:00
Aaron Piotrowski
95939ca257 Use CallableMaker; update docblocks 2017-06-04 22:15:32 -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
Aaron Piotrowski
4103e853b6 Add return types on getCurrent() 2017-05-25 22:47:49 -05:00
Aaron Piotrowski
31ea949464 Remove copy/paste error 2017-05-25 22:46:58 -05:00
Aaron Piotrowski
c255df3477 Update promise resolution types in doc blocks 2017-05-24 09:59:06 -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
a276d17be7 Update for Amp ^2 2017-05-15 23:14:02 -05:00
Aaron Piotrowski
cdd8b8004f Use lib name in error message 2017-04-14 18:33:31 -05:00
Aaron Piotrowski
c11beb79a2 Update for Amp changes
Listener → StreamIterator
Promise\map() removed
2017-04-14 18:32:57 -05:00
Aaron Piotrowski
e8e3ea7f7b when() → onResolve() 2017-03-21 19:16:25 -05:00
Aaron Piotrowski
04a6463888 Update for async-interop merge and other Amp changes 2017-03-17 10:17:24 -05:00
Aaron Piotrowski
478835a486 Typos 2017-02-16 16:25:52 -06:00
Aaron Piotrowski
60a1e9af7c Alias destruct method 2017-02-16 16:23:50 -06:00
Aaron Piotrowski
909eb39f2b Drop countable interface from command result 2017-02-15 23:33:41 -06:00
Aaron Piotrowski
2a1c96761b Fix connect() methods
Timeout wasn't being properly used and the implementation assumed single watchers on sockets, so it was more complex than needed.
2017-02-15 17:36:10 -06:00
Aaron Piotrowski
0cb2da3956 Make fetch callback a coroutine 2017-02-06 21:32:17 -06:00
Aaron Piotrowski
e3e3def9be Better variable names; fix incorrect method name 2017-01-18 12:29:48 -06: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
492d059a52 Namespace typo 2016-10-05 10:00:16 -05: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