Brian M. Carlson
acfbafac82
Publish
...
- pg-cursor@2.3.2
- pg-query-stream@3.2.2
- pg@8.3.2
2020-08-18 09:38:12 -05:00
Brian M. Carlson
07ee1bad37
Bump version
2020-08-18 09:37:35 -05:00
Christopher Young
f4d123b09e
Prevents bad ssl credentials from causing a crash
...
Fixes: https://github.com/brianc/node-postgres/issues/2307
Fixes: https://github.com/brianc/node-postgres/issues/2004
2020-08-12 07:22:34 -07:00
Charmander
3edcbb784f
Fix most SSL negotiation packet tests being ignored
...
`tc` was only one variable and the tests are asynchronous, so every test was writing 'E'.
2020-07-26 20:54:43 -07:00
Charmander
1b022f8c5f
Remove accidentally duplicated methods
...
Fixes #2293 .
2020-07-26 10:30:01 -07:00
Brian C
8291b233b8
Merge pull request #2277 from brianc/bmc/remove-comments
...
Remove out of date unneeded copyright / license comments
2020-07-16 09:58:20 -05:00
Brian M. Carlson
9ba4ebb803
Fix SASL again
2020-07-15 13:53:12 -05:00
Brian M. Carlson
66d32c6f3f
Fix more SASL. Thank God for tests.
2020-07-15 13:38:34 -05:00
Brian M. Carlson
fdf13bac34
Fix msg not being passed for SASL
2020-07-15 13:30:25 -05:00
Brian M. Carlson
5425bc15d2
Fix untested pgpass code
2020-07-15 13:19:45 -05:00
Brian M. Carlson
966278a5cc
Instance bound methods are not supported in node 8
2020-07-15 12:59:10 -05:00
Brian M. Carlson
9bf31060e1
Cleanup some dead code
2020-07-15 12:22:13 -05:00
Brian M. Carlson
5ba7e3fb48
Refactor connection to class
2020-07-15 11:49:54 -05:00
Brian M. Carlson
9d1dce9c5d
Mark handler methods as 'private'
2020-07-15 11:42:33 -05:00
Brian M. Carlson
63e15d15fa
Refactor
2020-07-15 11:31:16 -05:00
Brian M. Carlson
0b424cfff1
Move more functionality to methods
2020-07-15 11:16:46 -05:00
Brian M. Carlson
66e1e76c9b
More refactoring
2020-07-15 11:05:31 -05:00
Brian M. Carlson
04e5297d2e
Convert more things to ES6 classes
2020-07-15 10:33:33 -05:00
Brian M. Carlson
80d07c489f
Remove out of date unneeded copyright / license comments
2020-07-15 10:01:26 -05:00
Charmander
d7b22b390d
Fix dependency badges for monorepo
2020-07-10 08:55:31 -07:00
Brian M. Carlson
cf203431d6
Publish
...
- pg-connection-string@2.3.0
- pg-cursor@2.3.0
- pg-query-stream@3.2.0
- pg@8.3.0
2020-07-09 10:35:06 -05:00
Brian C
c22cc33a10
Merge pull request #2269 from brianc/bmc/add-integration-test
...
Add integration test for #2216
2020-07-08 13:37:59 -05:00
Brian M. Carlson
3360697bbd
Add integration test for #2216
2020-07-08 12:17:20 -05:00
Brian C
da5d4efef4
Merge pull request #2216 from rafiss/pgoptions
...
Support options connection parameter
2020-07-08 12:16:03 -05:00
Brian M. Carlson
dec892ed01
Publish
...
- pg-cursor@2.2.2
- pg-protocol@1.2.5
- pg-query-stream@3.1.2
- pg@8.2.2
2020-07-07 08:58:57 -05:00
regevbr
69af2672ed
fix: major performance issues with bytea performance #2240
2020-07-03 17:56:13 +03:00
regevbr
bf53552a15
fix: major performance issues with bytea performance #2240
2020-07-03 17:53:22 +03:00
regevbr
64c78b0b0e
fix: major performance issues with bytea performance #2240
2020-07-03 17:52:26 +03:00
Charmander
ea6ac2ad23
Remove the last __dirnames in requires
...
Follow-up to eeb62ba40da27941dad144635ee84b283950d411.
2020-05-18 18:30:21 -07:00
Sehrope Sarkuni
96e2f20a1d
test: Replace global BufferList with local require
...
Removes assigning BufferList to a global in top level test-helper and adds explicit
require in the tests that need to access it.
2020-05-16 08:43:38 -04:00
Sehrope Sarkuni
02c4fc5b95
test: Remove unused imports in test-helpers
2020-05-16 08:28:57 -04:00
Sehrope Sarkuni
87559bdbfa
test: Remove unused count variable
...
Removes unused count var. Sink function below it shadows the variable within
its add(...) function so file level count variable is never used.
2020-05-16 08:28:57 -04:00
Sehrope Sarkuni
bd28c0f15c
test: Remove unused getMode() function
2020-05-16 08:28:57 -04:00
Sehrope Sarkuni
eeb62ba40d
test: Replace __dirname concatenations in require(...) with relative paths
...
Replaces __dirname concatentation in pg test scripts so that editors like
VS Code can automatically generate typings and support code navigation (F12).
2020-05-16 07:41:15 -04:00
Brian M. Carlson
f3136a7d5d
Publish
...
- pg-connection-string@2.2.3
- pg-cursor@2.2.1
- pg-pool@3.2.1
- pg-protocol@1.2.4
- pg-query-stream@3.1.1
- pg@8.2.1
2020-05-15 18:33:34 -05:00
Brian M. Carlson
a79c8e7992
Send sync after flush
2020-05-15 17:51:09 -05:00
Rafi Shamim
06cdf3e9f0
Support options connection parameter
...
This supports the connection parameter documented here:
https://www.postgresql.org/docs/9.1/libpq-connect.html#LIBPQ-CONNECT-OPTIONS
2020-05-14 10:07:35 -04:00
Brian M. Carlson
9e55a7073b
Publish
...
- pg-cursor@2.2.0
- pg-protocol@1.2.3
- pg-query-stream@3.1.0
- pg@8.2.0
2020-05-13 09:10:34 -05:00
Brian M. Carlson
08afb12dcc
Set noDelay to true
2020-05-12 16:32:40 -05:00
Brian M. Carlson
520bd35319
Switch internals to use faster connection
...
This switches the internals to use faster protocol parsing & serializing. This results in a significant (30% - 50%) speed up in some common query patterns. There is quite a bit more performance work I need to do, but this takes care of some initial stuff & removes a big fork in the code.
2020-05-12 10:56:14 -05:00
Sehrope Sarkuni
4a80468a8a
test: Add sasl-scram-tests.js
...
Adds tests for SCRAM if SCRAM_TEST_PGUSER and SCRAM_TEST_PGPASSWORD
are defined. If not the tests are skipped (default).
2020-05-10 09:07:36 -04:00
Brian M. Carlson
bd7caf5742
Remove sponsor logo
2020-05-08 10:51:08 -05:00
Brian M. Carlson
3f5bc58a86
Publish
...
- pg-connection-string@2.2.2
- pg-cursor@2.1.11
- pg-pool@3.2.0
- pg-query-stream@3.0.8
- pg@8.1.0
2020-05-08 10:42:57 -05:00
Brian M. Carlson
7929f6ae44
Make change less invasive and fully backwards compatible for native binding config
2020-05-07 11:36:39 -05:00
Brian M. Carlson
1864910778
Add test for no-verify string config option
2020-05-05 11:08:05 -05:00
Brian M. Carlson
e9073f5a00
Cleanup & comments
2020-05-05 11:03:29 -05:00
Brian M. Carlson
b89eb0f81d
Write tests & unify treatment of no-verify
2020-05-05 10:58:34 -05:00
Brian M. Carlson
d8c7005115
Merge branch 'bhsj/noverify' of https://github.com/benhjames/node-postgres into benhjames-bhsj/noverify
2020-05-05 10:35:46 -05:00
Brian C
88da148b18
Merge pull request #2196 from brianc/bmc/use-monorepo-connection-string
...
Use monorepo connection string
2020-05-05 10:31:04 -05:00
Brian M. Carlson
9e11004e8a
No need to import from dist
2020-05-05 09:53:56 -05:00