2540 Commits

Author SHA1 Message Date
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
Aravindan Ve
54048235c5
fix: use types configured on pg client in pg-query-stream 2020-07-10 11:43:32 +05:30
Brian M. Carlson
f0bf3cda7b Update changelog 2020-07-09 10:37:32 -05: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
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
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
Brian C
9ba49b73c7
Merge pull request #2241 from PruvoNet/#2240
fix: major performance issues with bytea performance #2240
2020-07-07 08:33:26 -05:00
regevbr
1d3f155d4f
fix: major performance issues with bytea performance #2240 2020-07-03 17:57:07 +03:00
regevbr
69af2672ed
fix: major performance issues with bytea performance #2240 2020-07-03 17:56:13 +03:00
regevbr
410a6ab248
fix: major performance issues with bytea performance #2240 2020-07-03 17:54:29 +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
344731959e
Merge pull request #2260 from liamaharon/patch-1
Fix typo in README.md
2020-06-30 21:54:12 +00:00
Liam Aharon
f49db313c1
Fix typo in README.md 2020-06-30 17:13:41 +10:00
Charmander
6d18f6104f
Merge pull request #2254 from mriedem/patch-1
Fix rejectUnauthorize typo in CHANGELOG
2020-06-24 17:20:45 +00:00
Matt Riedemann
27029ba7c7
Fix rejectUnauthorize typo in CHANGELOG 2020-06-24 11:31:35 -05:00
regevbr
5e0d684446
fix: major performance issues with bytea performance #2240 2020-06-20 10:51:29 +03:00
regevbr
89758cee2f
fix: major performance issues with bytea performance #2240 2020-06-19 03:39:06 +03:00
regevbr
316b119e63
fix: major performance issues with bytea performance #2240 2020-06-19 03:27:39 +03:00
regevbr
13ff0e11ed
fix: major performance issues with bytea performance #2240 2020-06-19 02:53:17 +03:00
regevbr
c31205f437
fix: major performance issues with bytea performance #2240 2020-06-19 02:32:00 +03:00
regevbr
0455504e22
fix: major performance issues with bytea performance #2240 2020-06-18 14:49:50 +03:00
Charmander
ea6ac2ad23 Remove the last __dirnames in requires
Follow-up to eeb62ba40da27941dad144635ee84b283950d411.
2020-05-18 18:30:21 -07:00
Charmander
ff302b10ce
Merge pull request #2221 from sehrope/misc-test-cleanup
Test require clean up and refactoring to remove BufferList global
2020-05-17 18:12:07 +00: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
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 C
59cbf03e1b
Merge pull request #2220 from brianc/bmc/fix-loop
Send sync after flush
2020-05-15 18:20:04 -05:00
Brian M. Carlson
a79c8e7992 Send sync after flush 2020-05-15 17:51:09 -05:00
Brian C
d5b615e98e
Merge pull request #2217 from charmander/normal-encoding-parameter
Send the `client_encoding` startup parameter value with more typical formatting
2020-05-15 12:54:44 -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
Charmander
d8422552d1 Merge branch 'master' into normal-encoding-parameter 2020-05-13 23:59:39 -07:00
Charmander
bf40f03788 Send the client_encoding startup parameter value with more typical formatting
All non-alphanumerics are ignored, but `'utf-8'` is weird. `UTF8` is the canonical name, and is what libpq sends.
2020-05-13 23:56:20 -07:00
Brian C
bf469399b8
Merge pull request #2213 from brianc/bmc/upgrade-mocha
Upgrade mocha
2020-05-13 14:52:39 -05:00
Brian M. Carlson
8404434279 Upgrade mocha 2020-05-13 11:49:37 -05:00
Brian M. Carlson
70c8e5f451 Update changelog 2020-05-13 09:17:08 -05: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
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 C
5930e4fa38
Merge pull request #2210 from brianc/bmc/switch-to-fast-connection
Switch internals to use faster connection
2020-05-13 08:54:16 -05:00
Brian M. Carlson
72b5f6d669 Add test & fix packed packet parsing error for SASL authentication messages 2020-05-12 17:20:17 -05:00