2314 Commits

Author SHA1 Message Date
Josh
175b688b90 remove pg-native from dependencies
`npm run test` seems to be adding this
2017-09-03 14:14:28 -05:00
Josh
689bb25e86 fixes 2017-09-03 14:14:28 -05:00
Josh
78fc90366d remove .idea from gitignore 2017-09-03 14:14:28 -05:00
Josh
8839d42547 fixed test failure message 2017-09-03 14:14:28 -05:00
Josh
ad36063ca5 support statement_timeout 2017-09-03 14:14:28 -05:00
Arnaud Benhamdine
4936033adf Check more default properties in configuration teset 2017-09-03 14:01:34 -05:00
Arnaud Benhamdine
d6e7dfee83 Replace poolSize by max in configuration test 2017-09-03 14:01:34 -05:00
Arnaud Benhamdine
3b3e52cdc2 Prefer max over poolSize : max is the only property documented in node-pg-pool 2017-09-03 14:01:34 -05:00
Arnaud Benhamdine
27492efc11 Remove properties no more used in node-pg-pool 2017-09-03 14:01:34 -05:00
Charmander
c961888ceb Revert "Update Grammatical person"
This reverts commit ffc7653b9ebf1572620a1db16f9121e33e0995bc.
2017-09-03 13:58:51 -05:00
Kauê Gimenes
ffc7653b9e Update Grammatical person
Update Grammatical person from First Person to Third Person.
2017-09-01 13:09:49 -05:00
Sehrope Sarkuni
ef3379a480 Normalize export in utils to use short form 2017-08-30 15:30:36 -05:00
Sehrope Sarkuni
e74c13ddad Centralize password md5 hashing logic
Centralize logic for md5 hashing of passwords for authentication. Adds
a new function postgresMd5PasswordHash(user, password, salt) to utils
and updates client.js and tests to use it.
2017-08-30 15:30:36 -05:00
Sehrope Sarkuni
3ad0680e8d Fix reference to md5 helper in test
Fixes reference to md5 helper and removes reference to js client
as the md5 function is now provided by utils.
2017-08-30 15:30:36 -05:00
Brian C
beba66f2f1 Update SPONSORS.md 2017-08-28 10:57:38 -05:00
Ben Holden-Crowther
80d22da975 Minor improvements
full stop, capitalized Twitter
2017-08-28 10:56:37 -05:00
Jessica Evans
1b55c7bb7b capital letters
minor beautification
2017-08-27 12:46:57 -05:00
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