Raul Ochoa
c4f4c1c0e0
Avoid running native tests with node < 4.0.0
2016-12-16 16:52:20 +00:00
Daniel García Aubert
27d9813114
Expose keep-alive connection param
2016-12-07 15:46:26 +01:00
Daniel García Aubert
fa8cfcaebf
Emit message if the returned row is bigger than limit
2016-12-07 15:12:43 +01:00
Bill Butler
83a946f61c
Might be nice to have the host in the example ( #1118 )
2016-08-29 08:57:57 -05:00
Vitaly Tomilov
ec941c45c1
Upgrading tests to PostgreSQL 9.5 ( #1114 )
...
Setting PostgreSQL 9.5 as the main version to test against.
NOTE: The following settings are required for 9.5 to work:
```
sudo: required
dist: trusty
```
2016-08-22 22:35:41 -05:00
brianc
42689dac11
Bump version
2016-08-11 10:18:19 -05:00
brianc
4251a09b0b
Update changelog
2016-08-11 10:18:12 -05:00
Brian C
a536afb1a8
Add callback to client#end ( #1106 )
...
A long standing bug was the pure JS client didn't accept or call a callback on `client.end`. This is inconsistent with both the documentation & general node patterns.
This fixes the issue & adds a test. The issue did not exist in the native version of the client.
2016-08-11 10:17:03 -05:00
brianc
a95d9ac711
Bump version
2016-08-10 15:15:43 -05:00
hoegaarden
f857bbf623
pgpass: Upgrade to 1.x ( #1098 )
...
pgpass is using semver versioning now, thus a dependency on
version 1.x should be safe.
2016-08-10 15:15:09 -05:00
Arnaud Benhamdine
9f955c4348
Add details about differences between js and native bindings ( #1096 )
2016-08-02 09:21:31 -05:00
Vince Coppola
4e77464bfc
Small spelling fix ( #1099 )
2016-08-01 09:24:54 -05:00
Arnaud Benhamdine
74db8f9cd2
Add badges for npm version and number of dl on npm ( #1094 )
2016-07-26 09:32:12 -05:00
brianc
9274f08fa2
Bump version
2016-07-19 10:18:56 -05:00
brianc
892d02ca1c
Fix typo
2016-07-19 10:17:40 -05:00
Brian C
b1b2801c71
Add onFailure to query#then ( #1082 )
...
The promise adapter I had implemented wasn't spec compliant: it didn't accept both `onSuccess` and `onFailure` in the call to `query#then`. This subtly broke yield & async/await because they both rely on `onError` being passed into `Promise#then`. The pool was also not returning the promise after a client was acquired, which broke awaiting on `pool.connect` - this is also fixed now.
2016-07-19 10:16:48 -05:00
Brian C
1dc1dbc5b6
Update README.md
...
Move SSL connection information to wiki
2016-07-10 16:29:42 -05:00
brianc
bd7fc59635
Bump version
2016-07-10 16:29:04 -05:00
guoxiangyang
33a1c35ad2
changed for self signed ssl support ( #1072 )
2016-07-10 16:26:36 -05:00
Illirik Smirnov
522d62229b
Resolve merge conflict in PR #1041 ( #1065 )
...
* Add license comment
* Delete pool.js
2016-06-24 10:56:43 -05:00
brianc
c35adf6f68
Bump version
2016-06-24 01:23:19 -05:00
Brian C
1183658ceb
Update README.md
2016-06-24 01:22:25 -05:00
Brian C
1bc50f186f
Update README.md
2016-06-24 01:09:51 -05:00
Brian C
812277f99f
Fix native constructor and pool exports ( #1061 )
2016-06-24 00:52:28 -05:00
Neil W
e2830ac847
Update README.md ( #1063 )
...
Fixed minor typo "exampe" -> "example"
2016-06-24 00:35:14 -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
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
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
d1c5fc694b
Bump version
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
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
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