1
0
mirror of https://github.com/danog/postgres.git synced 2024-12-15 10:57:22 +01:00
Commit Graph

15 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
e709a1cb04
Replace getConnection() with extractConnection() 2017-11-22 20:34:08 -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
2b8aeec1b9
Add getQuery() to Statement interface 2017-11-05 18:18:01 -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
f363b05b10
Automatically discard unconsumed rows
Rows are automatically read and discarded when the tuple result is destructed.
2017-08-03 00:17:38 -05: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
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
0c3b70633c
Reuse statement handles
Allows the same query to be prepared multiple times on a single connection without error or performance penalty.
2017-07-27 23:20:46 -05:00
Aaron Piotrowski
2776a0344e Update code styles 2017-05-15 23:28:37 -05:00
Aaron Piotrowski
5d687a6cb5 Drop strict types 2016-12-29 23:21:17 -06:00
Aaron Piotrowski
caf829a48c Initial commit 2016-09-14 09:27:39 -05:00