Commit Graph

8 Commits

Author SHA1 Message Date
George MacKerron
ae0493cdc6 Updated ClientConfig to accept TlsOptions instead of just boolean (#18117) 2017-07-21 09:48:38 -07:00
Lei Zhao
2f8f2a6321 Pool.end() accepts an optional callback param 2017-07-04 13:39:18 -07:00
Andy Hanson
c15e214e5a bluebird: Make Thenable an alias to the builtin PromiseLike. 2017-06-16 09:02:18 -07:00
Aaron Petcoff
ee909ca497 duh forgot to add the word 'from' 2017-05-25 17:49:47 -04:00
Aaron Petcoff
7309ef4498 adds promise to PoolConfig in pg 2017-05-25 17:40:39 -04:00
John Maxwell
abef2dd282 [pg] Allow QueryConfig based queries rather than just string queries (#16293)
* feat: Allow QueryConfig based queries

* Harmonise pg.Client and pg.Pool query signatures
2017-05-04 13:08:11 -07:00
Charles Samborski
63a4b24ee1 [pg] Add the error parameter to Client.release
Client.release accepts an optional error parameter to destroy
the client instead of returning it to the pool in case of failure.
2017-04-18 11:43:44 +02:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00