Aaron Piotrowski
|
e3c295b8e5
|
Ensure connections closed by the server are not used
|
2018-01-23 19:44:24 -06:00 |
|
Aaron Piotrowski
|
a77e0ec22c
|
Drop Connection and Pool interfaces
Connection is now an abstract class and Pool is a concrete class. Removed AggregatePool as well.
|
2018-01-02 21:55:59 -06:00 |
|
Aaron Piotrowski
|
4b1c56a2b1
|
Automatically remove idle connections from pool
|
2018-01-02 16:26:28 -06:00 |
|
Aaron Piotrowski
|
2916fa161c
|
Fix typing in result sets with duplicate column names
|
2018-01-02 12:38:20 -06:00 |
|
Aaron Piotrowski
|
67b821343f
|
Move initial data validation out of generator parser
|
2017-12-18 00:17:55 -06:00 |
|
Aaron Piotrowski
|
82e439c111
|
Add parser tests and fix some bugs
|
2017-12-18 00:11:48 -06:00 |
|
Aaron Piotrowski
|
40c704faf6
|
Cast scalars and parse arrays
|
2017-12-17 15:51:40 -06:00 |
|
Aaron Piotrowski
|
b644e8cc7f
|
Fix pool connection waiting at max connections
|
2017-12-15 11:08:02 -06:00 |
|
Aaron Piotrowski
|
d979278204
|
Close connection on flush failure
|
2017-12-11 22:12:53 -06:00 |
|
Aaron Piotrowski
|
f0f233b8ac
|
Add phpstan & fix some doc issues
|
2017-12-11 19:10:14 -06:00 |
|
Aaron Piotrowski
|
ddb3b5638c
|
Update pool connection creation
|
2017-12-10 09:53:52 -06:00 |
|
Aaron Piotrowski
|
2d9e97aabc
|
Update readme
|
2017-12-08 20:43:05 -06:00 |
|
Aaron Piotrowski
|
02265884d3
|
Drop do*() private methods
|
2017-12-03 21:50:28 -06:00 |
|
Aaron Piotrowski
|
2d56d530cb
|
Fix code style
|
2017-12-02 19:56:40 -06:00 |
|
Aaron Piotrowski
|
a70c13c49e
|
Define target platform in composer.json and fix .travis.yml
|
2017-12-02 19:53:38 -06:00 |
|
Aaron Piotrowski
|
b3ff31ec0e
|
Rename TupleResult to ResultSet
Matches name in amphp/mysql.
|
2017-12-02 19:35:49 -06:00 |
|
Aaron Piotrowski
|
df149524dc
|
Add QueryExecutionError for diagnostics access, fixes #5
|
2017-12-01 10:55:58 -06:00 |
|
Aaron Piotrowski
|
6b65e103cf
|
Update export-ignore files
|
2017-11-22 20:35:23 -06:00 |
|
Aaron Piotrowski
|
6db10871a0
|
Test on 7.2
|
2017-11-22 20:35:11 -06:00 |
|
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
|
8a0f967828
|
Restructure try/catch/finally to avoid 7.0 bug
|
2017-11-18 23:30:33 -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
|
82aa0ec54f
|
Add option for array or object result
|
2017-11-16 09:43:18 -06:00 |
|
Aaron Piotrowski
|
7a8358ee69
|
Swap test query order
Temp fix for travis issues.
|
2017-11-06 10:18:04 -06:00 |
|
S.A.N
|
4ce0e715ff
|
Link to pecl-pq (#4)
|
2017-11-06 13:36:00 +01:00 |
|
Aaron Piotrowski
|
7578aa3445
|
Update readme
|
2017-11-05 23:22:45 -06:00 |
|
Aaron Piotrowski
|
0deb3e4f08
|
Increase coverage
|
2017-11-05 23:06:17 -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
|
3b1ed859ea
|
Use unbuffered connection for pq tests
|
2017-11-05 18:37:15 -06:00 |
|
Aaron Piotrowski
|
2b8aeec1b9
|
Add getQuery() to Statement interface
|
2017-11-05 18:18:01 -06:00 |
|
Aaron Piotrowski
|
a723281a95
|
Combine Connection specific tests
|
2017-11-05 18:14:22 -06:00 |
|
Aaron Piotrowski
|
dc47cdcccc
|
Add extension specific pool tests
|
2017-11-05 18:12:12 -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
|
4fc6425fd8
|
Only mark connection busy on transaction
Underlying handle will take care of ordering other operations.
|
2017-11-05 11:24:38 -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
|
1f146e31f6
|
Fix notification loop if listener unset
|
2017-08-01 23:26:27 -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
|
b76ff0f5d9
|
Unset statement cache if prepare fails
|
2017-07-31 00:52:56 -05:00 |
|
Aaron Piotrowski
|
588d4ff4c6
|
Examine result resource after prepare
Fixes #2.
|
2017-07-31 00:34:05 -05:00 |
|
Aaron Piotrowski
|
d88d009359
|
Add multi-listen example
|
2017-07-29 10:28:20 -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 |
|