Brian M. Carlson
6b7b8d19f5
Do not run tests in parallel
2019-12-20 15:03:43 -06:00
Brian M. Carlson
ef2f2d264d
Unify lint
...
Delete accidental addition
2019-12-20 13:46:51 -06:00
Brian M. Carlson
86073026ee
Run gitsubtree merge
2019-12-20 12:09:22 -06:00
Brian M. Carlson
db1b95e5f3
Add 'packages/pg-query-stream/' from commit '9ced05e8aab65f3fdf1a67add87bfc9035e487e8'
...
git-subtree-dir: packages/pg-query-stream
git-subtree-mainline: cccf84e14b3281b753e1baab7bc194aaac5024a8
git-subtree-split: 9ced05e8aab65f3fdf1a67add87bfc9035e487e8
2019-12-20 12:00:58 -06:00
Brian M. Carlson
b0be9da986
Cleanup
2019-12-19 18:57:48 -06:00
Brian M. Carlson
a7c70a9acf
All tests passing
2019-12-19 17:44:00 -06:00
Brian C
0189c958f6
Create FUNDING.yml
2019-12-19 16:49:38 -06:00
Brian M. Carlson
e500479382
Add streaming parser
2019-12-19 14:41:05 -06:00
Brian M. Carlson
fa44905b30
port over some tests
2019-12-19 14:33:37 -06:00
Brian M. Carlson
cb96ae2d6e
Drop node 4.0 from test matrix
2019-12-19 08:16:52 -06:00
Brian M. Carlson
e302c4c6ff
Bump version
2019-12-19 08:13:27 -06:00
Brian M. Carlson
5edcfcb68d
Add yarn.lock file
2019-12-19 08:13:17 -06:00
Brian M. Carlson
d2cad38452
Dont use experimental parser yet
2019-12-19 07:39:04 -06:00
Brian M. Carlson
e5d46749c0
Work in progress...convert to more efficient reader
2019-12-18 23:44:43 -06:00
Brian M. Carlson
cccf84e14b
Publish
...
- pg-cursor@2.0.2
- pg@7.15.1
pg-cursor@2.0.2
pg@7.15.1
2019-12-18 15:59:06 -06:00
Brian C
69f30df541
Merge pull request #2030 from brianc/bmc/add-pg-cursor
...
Add pg cursor
2019-12-18 15:36:00 -06:00
Brian M. Carlson
b14cf678cc
Remove postgres 9.1 from test matrix - json is not supported
2019-12-18 14:08:23 -06:00
Brian M. Carlson
57177d749e
Use public npm - accidentally had my work npm configured
2019-12-18 13:53:57 -06:00
Brian M. Carlson
5c0c93ce1d
Remove nested travis file
2019-12-18 13:47:56 -06:00
Brian M. Carlson
423baa644a
Update lint rules for pg-cursor
2019-12-18 13:42:47 -06:00
Brian M. Carlson
37d15740ed
Add 'packages/pg-cursor/' from commit '492fbdbb65f6f33396d1017fa4cdbbb247dd3895'
...
git-subtree-dir: packages/pg-cursor
git-subtree-mainline: ebb81dbfa635eca73d16d54b501f04c8d843bac5
git-subtree-split: 492fbdbb65f6f33396d1017fa4cdbbb247dd3895
2019-12-18 13:20:51 -06:00
Brian M. Carlson
492fbdbb65
Merge branch 'juneidysoo-master'
2019-12-18 13:17:49 -06:00
Brian M. Carlson
e20d0128fc
Merge branch 'master' of https://github.com/juneidysoo/node-pg-cursor into juneidysoo-master
2019-12-18 13:16:55 -06:00
Brian C
e34c6021ef
Merge pull request #32 from hetul/fix-closing-finished-connections
...
Fix closing a finished cursor without supplying a callback
2019-12-18 12:38:30 -06:00
dependabot[bot]
8f819a0e8d
Bump js-yaml from 3.12.0 to 3.13.1 ( #137 )
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases )
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-18 10:08:42 -06:00
Johannes Würbach
236db3813d
Handle client errors in pool.query ( #131 )
...
If an error not related to the query occurs, the client is emitting an
error event.
Forward this event to the callback.
2019-12-18 10:08:30 -06:00
Brian M. Carlson
ebb81dbfa6
Publish
...
- pg@7.15.0
pg@7.15.0
2019-12-17 10:35:38 -06:00
Brian M. Carlson
7feaafd771
Update changelog
2019-12-17 10:34:09 -06:00
Brian C
1b5f3e33c4
Monorepo ( #2014 )
...
* First crack at monorepo
* Update test command
* Update path to script
* Remove node 6 from CI
2019-12-17 08:32:08 -08:00
Charmander
2b59209cf3
Warn when functions intended as constructors are called without new ( #2021 )
...
* Warn when pg.Pool() isn’t called as a constructor
in preparation for #1541 . `eval` is a bit awkward, but it’s more accurate than an `instanceof` check and will work on platforms new enough to support pg 8 (i.e. only not Node 4).
* Warn when Query() isn’t called as a constructor
2019-12-17 08:02:38 -08:00
Hetul Patel
124c89b173
fix lint issues
2019-12-13 15:30:40 -08:00
Charmander
c1f954b7a6
Remove unreachable branch in parseE ( #2020 )
...
The message is created with a fixed name.
56b7c4168d5aa084b2821279ee88d437a2b7636d, released in pg 2.4.0, was when this became applicable and the type of a `notice` event’s argument changed to an Error.
2019-12-12 08:15:53 -08:00
Adam Nielsen
b03a3bd76d
Clear connection timeout on error ( #2015 )
...
Cancel the connection timeout upon stream error, to avoid getting a stream error followed later by a connection error.
2019-12-12 08:15:19 -08:00
Charmander
8f56b8c2fd
Add PostgreSQL 10 to CI ( #1947 )
...
* Exit with error code when create-test-tables fails
* Add PostgreSQL 10 to CI
and change to Ubuntu 18.04 so building OpenSSL isn’t necessary, and move old PostgreSQL version tests to the latest Node LTS.
* Add Node 13 to CI
* Preserve create-test-tables’s compatibility with PostgreSQL <9.4
2019-11-20 17:38:40 -06:00
Brian M. Carlson
30f67bb246
Bump version
v7.14.0
2019-11-20 10:14:48 -06:00
Brian M. Carlson
b05ea526b8
Update changelog
2019-11-20 10:14:04 -06:00
Brian C
510a273ce4
Revert "Support additional tls.connect() options ( #1996 )" ( #2010 )
...
This reverts commit bf029c827049ca16add0a862d40f4e60dfd9e602.
2019-11-20 10:12:02 -06:00
Brian M. Carlson
c10a96c54d
Bump version
v7.13.0
2019-11-19 10:44:31 -06:00
Brian M. Carlson
eac3e4dcaf
Update changelog
2019-11-19 10:44:23 -06:00
Jim Geurts
bf029c8270
Support additional tls.connect() options ( #1996 )
...
* Support additional tls.connect() options
* Pass-through all ssl options to tls.connect()
* Fix lint error
* Remove tls.checkServerIdentity explicit option
2019-11-19 10:10:19 -06:00
Brian C
ced31dd911
Update SPONSORS.md
2019-11-19 10:10:09 -06:00
dependabot[bot]
c8c41c5b65
Bump lodash from 4.17.11 to 4.17.13 ( #136 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-19 10:02:08 -06:00
Justin Merz
06fbe19923
Skip TLS SNI if host is IP address ( #1890 )
...
* skip TLS SNI if host is IP address (do not set servername option in tls.connect)
* Format code
2019-11-11 15:18:52 -03:00
Sehrope Sarkuni
cd66c0b261
Add explicit files list to package.json ( #1951 )
2019-11-11 15:11:24 -03:00
Charmander
caa6517999
Fix disconnection tests for pg-pool 2.0.7 ( #1946 )
...
* Require latest pg-pool ^2.0.7
to limit variability of next pg’s installations.
* Ignore EPIPE when writing termination message
I don’t know why this wasn’t necessary for tests to pass before…
* Fix disconnection tests for pg-pool 2.0.7
In pg-pool 2.0.7, checked-out clients became responsible for their own 'error' events.
brianc/node-pg-pool#123
2019-11-11 15:10:18 -03:00
Brian M. Carlson
9ced05e8aa
Bump version
2019-10-30 14:08:45 -05:00
Brian C
08072a90b8
Pass options to cursor ( #65 )
...
* Bump version of pg-cursor
This includes fixes in pg-cursor@2.0.1. I've relaxed semver a touch so I don't have to release a new version here just for patch changes to pg-cursor.
* Pass options to pg-cursor
fixes #55
2019-10-30 14:08:11 -05:00
dependabot[bot]
05b4c573d2
Bump eslint from 4.4.0 to 4.18.2 ( #63 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 4.4.0 to 4.18.2.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v4.4.0...v4.18.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-10-30 13:03:26 -05:00
Brian C
3e59f28df4
Bump version of pg-cursor ( #64 )
...
This includes fixes in pg-cursor@2.0.1. I've relaxed semver a touch so I don't have to release a new version here just for patch changes to pg-cursor.
2019-10-30 13:03:09 -05:00
Brian M. Carlson
37906091e1
Bump version
2019-10-30 12:55:38 -05:00