1
0
mirror of https://github.com/danog/postgres.git synced 2024-12-13 09:57:32 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
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
e709a1cb04
Replace getConnection() with extractConnection() 2017-11-22 20:34:08 -06: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
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