Commit Graph

1594 Commits

Author SHA1 Message Date
brianc
fe6f32a6e7 Bump version 2016-04-08 18:46:42 -05:00
Brian C
a8bd44a6ec Requiring native bindings polutes 'global' (#984)
There was some nasty global-ish variable reference updating happening when the native module 'initializes' after its require with `require('pg').native`

This fixes the issue by making sure both `require('pg')` and `require('pg').native` each initialize their own context in isolation and no weird global-ish references are used & subsequently stomped on.
2016-04-08 18:46:10 -05:00
Brian C
beb8eef1f4 Merge pull request #971 from LinusU/patch-1
readme: fix pool size
2016-04-04 10:36:11 -05:00
brianc
c2650d8abd Bump version 2016-03-30 12:29:25 -05:00
Brian C
ff4794d3c2 Merge pull request #951 from langpavel/readme-extras-wiki
Move Extras section from README.md to Github wiki
2016-03-30 12:28:36 -05:00
Brian C
eabbebaea8 Merge pull request #963 from dorianj/cancellation
Fix byte representation of CancelRequest message
2016-03-30 12:18:27 -05:00
Linus Unnebäck
fe6215d71c readme: fix pool size 2016-03-23 15:28:25 +01:00
Dorian Johnson
eb7b15c623 Fix byte representation of CancelRequest message
I noticed that query cancellation was not working when connecting through pgbouncer,
even though it worked fine when directly connected. This is because we're appending an
extra null byte, and pgbouncer is strict about the packet length.
(per http://www.postgresql.org/docs/9.1/static/protocol-message-formats.html)

This removes the extraneous byte, which fixes cancellation against pgbouncer.
2016-03-09 16:13:54 -08:00
Pavel Lang
b584d15f3d Move Extras section from README.md to Github wiki 2016-02-26 20:22:38 +01:00
brianc
93aa52d43b Bump version 2016-02-25 12:28:15 -06:00
brianc
2a04d9267b Bump version 2016-02-25 11:02:32 -06:00
brianc
dbe0588148 Update news 2016-02-25 11:02:23 -06:00
Brian C
1c6da45d64 Merge pull request #943 from RivalIQ/utc-date-input
add option to parse input javascript Dates as UTC
2016-02-25 11:01:13 -06:00
Brian C
f558ce499b Merge pull request #942 from koistya/patch-1
Add pg-client to the list of extras in README.md
2016-02-25 10:52:12 -06:00
Seth Pollack
909c0f1872 add option to parse input Dates as UTC 2016-02-23 17:02:08 -08:00
Konstantin Tarkus
8cfe39becd Add pg-client to the list of extras in README.md 2016-02-23 14:29:56 +03:00
brianc
dbf3a04bc2 Bump version 2016-02-15 11:52:33 -05:00
Brian C
93d1e88d81 Merge pull request #935 from jkgeyti/master
Support querying tables with column names with multiple apostrophes
2016-02-15 11:50:00 -05:00
Brian C
f26cb73356 Merge pull request #937 from coagmano/master
Bring native API in line with pure js version. Fixes #743
2016-02-15 11:48:44 -05:00
brianc
ef64f5d6db Bump version 2016-02-15 11:46:46 -05:00
brianc
1ace25a1a6 Bump buffer-writer minor version for better large insert performance 2016-02-15 11:46:46 -05:00
Frederick Stark
b78a508420 Add function stub to native result to solve broken test 2016-02-12 13:38:38 +11:00
Frederick Stark
ac438e8952 Add integration test for Result.addRow 2016-02-12 13:37:49 +11:00
Jens Kristian Geyti
02c47f5071 Support querying tables with column names with multiple apostrophes (issue #934). Includes integration test. 2016-02-10 20:52:43 +00:00
Brian C
99a0dce688 Merge pull request #927 from jadbox/master
pg-rxjs mention added
2016-01-27 13:22:49 -06:00
Jonathan
efdcf75cb7 pg-rxjs mention added 2016-01-27 10:27:02 -08:00
brianc
10a0e48425 Bump version 2016-01-27 11:40:49 -06:00
Brian C
a49181a883 Merge pull request #926 from bradyholt/patch-1
Adding MassiveJS to Extras section of README
2016-01-27 11:07:19 -06:00
Brady Holt
cde7b3df36 Adding MassiveJS to Extras section of README 2016-01-27 11:06:01 -06:00
Brian C
e6649f2650 Merge pull request #925 from mnahkies/fix-prepare-value-map-to-postgres
Fix prepare value map to postgres
2016-01-27 11:02:13 -06:00
Brian C
8807936de9 Merge pull request #921 from sibedge/patch-2
Update README.md
2016-01-27 11:01:25 -06:00
Michael Nahkies
3a9f5c3500 wrap entry point to prepareValue to only accept 1 arg 2016-01-27 18:08:46 +13:00
Michael Nahkies
fa16966f91 add failing test that shows the issue 2016-01-27 18:06:22 +13:00
sibedge
fde38d7e35 Update README.md
Adding [pg-minify](https://github.com/vitaly-t/pg-minify) to the list of Extras.
2016-01-20 01:10:31 +00:00
Brian C
5a2d01ccd0 Merge pull request #907 from recursivefunk/change-pg-gen-username
doc update change username from jray to recursivefunk
2015-12-29 15:17:21 -06:00
Johnny Ray Austin
c266cad808 doc update change username from jray to recursivefunk 2015-12-29 10:01:55 -05:00
Brian C
76ed97d649 Merge pull request #901 from tomhughes/connection
Use connection configuration consistently in tests
2015-12-09 23:31:10 -06:00
Tom Hughes
771111eb73 Use connection configuration consistently in tests 2015-12-04 15:41:11 +00:00
Brian C
1cf2170301 Merge pull request #899 from jray/pg-gen-readme-update
readme entry for pg-gen
2015-12-02 00:49:36 -06:00
Johnny Ray Austin
17e3534aa5 readme entry for pg-gen 2015-12-01 08:43:19 -05:00
Brian C
913c9d3366 Merge pull request #888 from sibedge/patch-1
Error message misspelling.
2015-11-30 23:08:39 -06:00
sibedge
f703c18aca Error message misspelling.
Fixing error message misspelling.
2015-11-14 16:33:25 +00:00
Brian C
ee21036962 Merge pull request #873 from kevinburke/fix-typo
defaults.js: fix typo in comment
2015-11-13 10:45:14 -06:00
brianc
5f50ddffef Bump version 2015-10-15 14:22:43 -05:00
Brian C
6d18fe5e83 Merge pull request #875 from joostfarla/require
Require statements break Browserify compatibility
2015-10-15 14:22:04 -05:00
Joost Farla
f50f5ce7e8 Require statements break Browserify compatibility 2015-10-10 11:10:51 +02:00
Kevin Burke
fccaa1c598 defaults.js: fix typo in comment 2015-10-08 23:02:15 -07:00
Brian C
261a42a730 Merge pull request #872 from brianc/fix-travis
Add clang flags to travis environment
2015-10-07 11:32:01 -05:00
brianc
1020a7175f Add clang flags to travis environment
Trying to fix the building on travis...
2015-10-07 11:11:53 -05:00
brianc
3f32f7d8a6 Remove code that does not work in node v4.x 2015-09-28 10:04:17 -05:00