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

8 Commits

Author SHA1 Message Date
Aaron Piotrowski
8441446563
Extend Pooled* classes in amphp/sql; update tests 2018-07-17 11:20:07 -05:00
Aaron Piotrowski
53d3f8b074
Remove resetConnections
Moved to constructor argument.
2018-07-10 18:50:11 -05:00
prolic
0472d5d560
Use common SQL interface library 2018-07-01 12:33:12 -05:00
Aaron Piotrowski
996b55fd93
Reintroduce Pool interface 2018-06-27 23:48:16 -05:00
Aaron Piotrowski
dbca58507e
Add Connector interface; make most classes final
Connector added so Pool could be final while adding a way to alter how connections are established. connect() and pool() functions now use the global connector defined by a new function connector().

Some tests were refactored to account for final classes. AbstractPoolTest was removed as the other pool tests covered the same code with similar tests.
2018-03-26 22:08:46 -05: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
3b1ed859ea
Use unbuffered connection for pq tests 2017-11-05 18:37:15 -06:00
Aaron Piotrowski
dc47cdcccc
Add extension specific pool tests 2017-11-05 18:12:12 -06:00