2393 Commits

Author SHA1 Message Date
Brian C
c95036c362 Update README.md
Add travis badge
2016-06-23 00:21:01 -05:00
Brian C
8c058a300a Update README.md 2016-06-23 00:09:50 -05:00
Brian C
d2775fc023 Add travis.yml file (#9)
* Add travis.yml file

* Remove test on pg@9.5 since travis does not support it
2016-06-22 23:55:17 -05:00
Brian C
63caf7cd4c Add 'connect' event to pool (#7)
* Have pool emit 'connect' callback with client

* Ensure pool emits client on connect event
2016-06-22 23:29:35 -05:00
Brian C
7ef08fd861 Remove dependency on debug (#6)
Accept a `log: (message, other...) => { }` parameter as a config option, but by default use a no-op function instead of debug.
2016-06-22 23:29:09 -05:00
brianc
276b50d69f Bump version 2016-06-22 17:17:11 -05:00
ikokostya
cc20f8b747 Clone options in Pool constructor (fixes #4) (#5) 2016-06-22 16:34:17 -05:00
Brian C
d21ed42fc6 Update README.md 2016-06-22 10:03:14 -05:00
Brian C
ef8530aeb7 Update README.md 2016-06-21 22:38:31 -05:00
Brian C
c00d62169e Update README.md 2016-06-21 22:10:50 -05:00
Brian C
ea141cf16f Update CHANGELOG.md 2016-06-21 22:07:39 -05:00
brianc
d4d56261ab Bump version v6.0.0 2016-06-21 22:03:56 -05:00
brianc
1206f4d191 Update changelog 2016-06-21 22:03:32 -05:00
brianc
406357b9c6 Better indication that pg.pools is a private api 2016-06-21 22:03:25 -05:00
Brian C
0aa62f2854 Make tcp-keepalive configurable (#1058) 2016-06-21 21:38:10 -05:00
Konstantin Petryaev
ad65c7b1bc Fix of pool leaking by TCP-keepalive (#918)
* fix of bug with pool leaking by TCP keep-alives

* add test for check setKeepAlive on connect

* fix mistake with var

* fix mistake with var
2016-06-21 14:49:41 -05:00
brianc
e809055174 Bump version v5.2.0 2016-06-21 09:56:39 -05:00
brianc
fd6a25a030 Update changelog 2016-06-21 09:56:32 -05:00
Brian C
796a44f54f Remove internal pool (#1049)
* Initial work on removing internal pool

* Port backwards-compabible properties

* Cleanup test execution & makefile cruft

* Attempt to fix flakey error test
2016-06-21 09:53:09 -05:00
Jos Kuijpers
1596a933eb Fix SSL configuration error and add tests. #848 (#1055) 2016-06-21 09:42:30 -05:00
brianc
d09cf3b9c3 Bump version 2016-06-20 19:57:44 -05:00
Lee Symes
a6f641eb2c Only release client once on an error. (#3)
Prevent `generic-pool` error when releasing a client with an error.

Fixes #2
2016-06-20 19:56:12 -05:00
brianc
e38cfe078c Bump version 2016-06-10 22:52:21 -05:00
brianc
cb21c2a2e7 Better compatibility with pg 2016-06-10 22:52:07 -05:00
Brian C
36d50eceee Merge pull request #1 from jrf0110/patch-1
Demonstrate that pg-pool exports Pool constructor
2016-06-10 21:52:43 -05:00
John Fawcett
d42770ae2c Demonstrate that pg-pool exports Pool constructor 2016-06-10 21:25:56 -05:00
Brian C
d73538550c Update README.md 2016-06-10 17:44:48 -05:00
brianc
5c88bd6965 Update readme 2016-06-10 17:40:42 -05:00
brianc
d1c5fc694b Bump version v5.1.0 2016-06-10 17:21:32 -05:00
brianc
ebb533c9b9 Update changelog 2016-06-10 17:21:17 -05:00
Brian C
2fd9c77085 Make Query & NativeQuery implement the promise interface (#1047)
* Make Query & NativeQuery implement the promise interface

* Fix test

* Use older node API for checking listener length

* Do not test for promises on node@v0.10.0
2016-06-10 17:18:19 -05:00
Brian C
da6a2b0b0c Update README.md 2016-06-10 17:17:35 -05:00
Brian C
1decf9693a Create README.md 2016-06-10 17:16:14 -05:00
brianc
2aa207eea6 Update test semantics 2016-06-10 16:58:23 -05:00
brianc
ad73407aad Initial commit 2016-06-08 18:40:32 -05:00
brianc
c0d39055f2 Initial commit 2016-06-07 19:16:19 -05:00
brianc
9b1d16dfd2 Remove io.js badge 2016-06-07 17:17:39 -05:00
brianc
8918c95f61 Bump version of semver 2016-06-07 17:17:09 -05:00
brianc
86bd9a138c Bump version v5.0.0 2016-06-07 16:49:33 -05:00
brianc
f0e1622d4c Update changelog for 5.0 2016-06-07 16:49:21 -05:00
Brian Dunavant
01e5d726da Support for defaults.connectionString (#910) 2016-06-07 16:09:22 -05:00
twisha16
90600f2b47 Adding returnToHead in clientConfig param (#1007) 2016-06-07 16:05:55 -05:00
Muhammad Raihan Muhaimin
667953fd5c Proper error message for undefined where options (#1022)
When user provides a knex select statement with an undefined options in where clause it is not properly handled an give an ambiguous error message telling `Unhandled rejection TypeError: Cannot read property 'toString' of undefined.` This PR will helpful to users at it will tell them the exact problem.
2016-06-07 16:04:52 -05:00
Alejandro Oviedo
edf4e7f76c add dependencies badge on readme (#1024) 2016-06-07 16:04:07 -05:00
Henrik
c1e52e70ad added .npmignore in order to not publish tests to npm (#1025) 2016-06-07 16:02:48 -05:00
Pavel Lang
ad2ffce986 pg.native returns null if pg-native is missing (#950)
`require('pg').native` will be `null` and report error once to `stdout` when `pg-native` is missing.
2016-06-07 16:02:07 -05:00
hoegaarden
06743a71e5 pgpass: Update to 0.0.6 (#1040) 2016-06-07 16:01:17 -05:00
Kevin Burke
13a82ad0ec Update Copyright notice to 2016 (#1036) 2016-06-03 10:27:05 -05:00
brianc
6cc1b2c8e6 Bump version v4.5.6 2016-06-03 10:25:49 -05:00
Tristan Davies
d7307b1630 use latest generic-pool (#1031) 2016-06-03 10:25:13 -05:00