2464 Commits

Author SHA1 Message Date
Tobias Gurtzick
7d1342e03b verify that sslrootcert is added to libpqConnectionString 2017-08-26 12:26:08 -05:00
Tobias Gurtzick
03c2270d0e add missing sslrootcert for native bindings 2017-08-26 12:26:08 -05:00
Sehrope Sarkuni
884e21e1ca Refactor addCommandComplete
Refactors addCommandComplete to tighten parsing regex start anchor and
handle edge case where no row count is specified (pre 8.2 COPY).
2017-08-26 12:24:59 -05:00
Brian M. Carlson
8022fa6b44 Bump version v7.2.0 2017-08-22 15:08:59 -05:00
Brian M. Carlson
95a703596c Update changelog 2017-08-22 15:08:52 -05:00
Brian C
3ddf9c84df Update SPONSORS.md 2017-08-22 15:06:30 -05:00
Brian M. Carlson
abe7583512 Pin child modules to tighter semver ranges 2017-08-22 15:06:12 -05:00
Brian C
c2158f7607 Update SPONSORS.md 2017-08-21 15:34:01 -05:00
Sehrope Sarkuni
78dcd708bb Sort .npmignore 2017-08-21 11:29:15 -05:00
Sehrope Sarkuni
c7937a5530 Add package-lock.json to .gitignore 2017-08-21 11:29:15 -05:00
Sehrope Sarkuni
07dfebf386 Sort .gitignore 2017-08-21 11:29:15 -05:00
Sehrope Sarkuni
6e2c1e9b98 Removes extra 'use strict' 2017-08-15 13:00:15 -07:00
Brian C
8a0731fcfb Update SPONSORS.md 2017-08-14 16:02:20 -07:00
Brian C
cfb1fbcc18 Update SPONSORS.md 2017-08-14 11:11:10 -07:00
Brian M. Carlson
1769cff397 Bump version v7.1.2 2017-08-12 22:10:58 -05:00
Brian M. Carlson
7e7ff7f581 Bump version v7.1.1 2017-08-12 16:34:35 -05:00
Brian M. Carlson
48543bfad0 Fix vulnerability 2017-08-12 16:34:22 -05:00
Brian Carlson
4d7734a711 Bump version 2017-08-10 09:01:31 -05:00
Charmander
4e35226340 Fix client remove clearing unrelated idle timers (#71)
* Add failing test for idle timer continuation after removal

* Clear idle timeout only for removed client

* Copy list of idle clients for modification during iteration
2017-08-10 09:00:49 -05:00
Brian Carlson
c3417e95eb Bump version 2017-08-10 00:21:10 -05:00
Brian C
53584b704a Add connection & query timeout if all clients are checked out (#70)
* Add connection & query timeout if all clients are checked out

This addresses [pg#1390](https://github.com/brianc/node-postgres/issues/1390).

Ensure connection timeout applies both for new connections and on an exhuasted pool.  I also made the library return an error when passing a function as the first param to `pool.query` - previosuly this threw a sync type error.

* Add pg-cursor to dev deps
2017-08-10 00:20:56 -05:00
Brian M. Carlson
e762b48e48 Bump version 2017-08-09 10:35:22 -05:00
Brian C
090b759e9f Merge pull request #33 from brianc/eslint-deps
Move eslint to dev dependencies
2017-08-09 10:08:18 -05:00
Brian M. Carlson
17e19e55a0 Move eslint to dev dependencies 2017-08-09 09:53:42 -05:00
Brian C
b518617562 Update SPONSORS.md 2017-08-08 11:26:19 -05:00
Brian C
c0f5518341 Update README.md
Add link to updated documentation
2017-08-08 11:24:06 -05:00
Brian C
8a2ba46ec1 Update SPONSORS.md 2017-08-07 10:53:14 -05:00
Brian C
fb49586664 Update SPONSORS.md
Add John Fawcett as a supporter
2017-08-07 10:08:25 -05:00
Brian M. Carlson
465ac5caf3 Bump version 2017-08-06 12:42:19 -05:00
Brian C
57f62df315 Merge pull request #29 from brianc/upgrade-pg-cursor
Upgrade to newest version of pg-cursor
2017-08-06 12:41:34 -05:00
Brian M. Carlson
b1f8f8d60d Eslint 2017-08-06 11:59:47 -05:00
Brian M. Carlson
796d141386 Bump version 2017-08-06 11:28:37 -05:00
Brian C
b97a442f07 Merge pull request #30 from brianc/suport-query-config
Add support for rowMode & custom types
2017-08-06 11:28:22 -05:00
Brian Carlson
e517b8ce14 WIP 2017-08-05 18:27:29 -05:00
Brian M. Carlson
e0b2e41e57 Fix lint 2017-08-05 18:25:09 -05:00
Brian M. Carlson
4ff97f54bf Add support for rowMode & custom types 2017-08-05 18:22:54 -05:00
Brian M. Carlson
5b4bb7b615 Bump version 2017-08-05 17:29:58 -05:00
Brian C
71f30faeda Merge pull request #29 from brianc/no-sync-callbacks
Cleanup
2017-08-05 17:28:48 -05:00
Brian M. Carlson
bbefeb8670 Remove unused file 2017-08-05 17:25:13 -05:00
Brian M. Carlson
2ced8f1f2b Integrate eslint 2017-08-05 17:24:49 -05:00
Brian M. Carlson
3675d2b041 Fix to support node@4 LTS 2017-08-05 17:17:24 -05:00
Brian Carlson
a720dc774b Some cleanup 2017-08-05 16:59:20 -05:00
Brian M. Carlson
5a0af8cdd1 Bump version 2017-08-05 15:56:56 -05:00
Brian C
25d978e593 Merge pull request #28 from brianc/rickbergfalk-master
Do not send close after readyForQuery
2017-08-05 15:55:54 -05:00
Brian M. Carlson
620ddc0ded Do not send close after readyForQuery
Close is used to release a named portal (which isn't used by pg-cursor) or when you're early-terminating a cursor on the unnamed portal. Sending 'close' on an connection which has already sent 'readyForQuery' results in the connection responding with a _second_ 'readyForQuery' which causes a lot of issues within node-postgres as 'readyForQuery' is the signal to indicate the client has gone back into the idle state.
2017-08-04 17:40:52 -05:00
Rick Bergfalk
6072bcea8e Merge remote-tracking branch 'brianc/master' 2017-08-04 16:58:34 -04:00
Rick Bergfalk
9c7d2c853e Test cursor with pg-pool 2017-08-04 16:58:32 -04:00
Brian C
a8304f8bac Update README.md
Spelling...
2017-08-04 15:47:45 -05:00
Brian C
d0c18b088d Update README.md
Add Patreon page link
2017-08-04 15:42:51 -05:00
caub
9ab62ff9f3 allow min/max params for pg-pool 2017-08-04 08:58:44 +02:00