Commit Graph

1221 Commits

Author SHA1 Message Date
Eugene Ware
cd29f806f1 Encode buffers as bytea hex strings 2013-09-20 00:49:38 +10:00
Eugene Ware
4662d41972 bind Buffer variables as binary values 2013-09-19 01:50:42 +10:00
39e048330c Merge pull request #439 from robraux/patch-1
Update README to include new production use
2013-09-11 14:19:42 -07:00
Rob
e8f9a0e342 Update README to include new production use 2013-09-11 12:06:44 -04:00
brianc
59f9c281b7 Bump version 2013-09-11 10:46:23 -05:00
Brian C
944f09be61 Merge pull request #438 from robraux/global-leak-fixes
fix global variable leaks for ROW_DESCRIPTION, FORMAT_TEXT, FORMAT_BINARY, DATA_ROW
2013-09-11 08:45:26 -07:00
Rob Raux
bf419d2659 fix global variable leaks 2013-09-11 14:36:29 +00:00
Brian Carlson
e346533d15 Bump version 2013-09-09 11:50:33 -05:00
Brian Carlson
1674359b57 Respect SSL setting from connection parameters 2013-09-09 11:50:20 -05:00
brianc
b26a4303a8 Bump version 2013-09-05 17:04:52 -05:00
brianc
9260abc2ef Update news 2013-09-05 17:04:45 -05:00
Brian C
698fe69139 Merge pull request #436 from brianc/ssl-mode-env
Respect PGSSLMODE for setting SSL connection
2013-09-05 15:03:55 -07:00
brianc
bfdea752b2 Respect PGSSLMODE for setting SSL connection 2013-09-05 16:51:16 -05:00
Brian C
e8f7f38e18 Merge pull request #435 from shine-on/master
improve SHELL portability
2013-09-05 09:11:25 -07:00
shine-on
d9c1936fc4 improve SHELL portability
bash isn't a standard shell outside a Linux world, but sh is (per POSIX, see link below). should be no-op due to no bashisms in the script.

http://pubs.opengroup.org/onlinepubs/009695399/utilities/sh.html
2013-09-05 13:12:04 +03:00
rpedela
b0a4c65567 Surround PGRES_SINGLE_TUPLE with an #ifdef for single row mode support. 2013-09-04 11:50:52 -06:00
rpedela
fe47a0137b Merge branch 'master' of https://github.com/rpedela/node-postgres 2013-09-04 11:46:34 -06:00
rpedela
cd4565ba1f #181 #366 Add support for single row mode in Postgres 9.2+. This will enable single row mode only when the user wants to stream rows. 2013-09-04 11:46:07 -06:00
rpedela
4d6482b1d5 Ignore gedit backup files. 2013-09-04 11:46:07 -06:00
Brian Carlson
efad508d0c Bump version 2013-09-01 22:09:03 -05:00
Brian C
c13f34aad9 Merge pull request #432 from brianc/pull/425
Fix for early dates
2013-09-01 20:08:30 -07:00
Brian Carlson
a2d0ab286a Do not run tests for binary mode 2013-09-01 22:03:49 -05:00
Brian Carlson
fb499e4b3d Fix incorrect failing date test 2013-09-01 21:59:33 -05:00
William Becker
3c6b106b86 fix trailing whitespace breaking jshint 2013-09-01 21:59:09 -05:00
William Becker
b7f8429ff7 handle early dates (< 100AD) 2013-09-01 21:59:09 -05:00
Brian Carlson
5c233896f1 Add failing early date tests 2013-09-01 21:59:01 -05:00
Brian Carlson
b38d60dc26 Compile bindings before any integration tests 2013-09-01 21:44:02 -05:00
Brian C
a4caea51be Merge pull request #430 from shine-on/master
Drop table if exists
2013-09-01 19:22:06 -07:00
shine-on
82843153a5 down is used but isn't set
https://github.com/brianc/node-postgres/blob/master/script/create-test-tables.js#L41
2013-08-31 12:23:17 +03:00
shine-on
7b703ccfed Merge pull request #1 from brianc/master
merge
2013-08-31 02:17:27 -07:00
shine-on
29029298fe Drop table if exists 2013-08-31 11:20:33 +03:00
Brian Carlson
5eb8ba2a73 Bump version 2013-08-29 00:20:21 -05:00
Brian Carlson
46d49cf198 Update news 2013-08-29 00:20:14 -05:00
Brian C
dcd90673ac Merge pull request #427 from brianc/parse-big-int
Add ability to opt-in to int8 parsing
2013-08-28 22:17:15 -07:00
Brian Carlson
e744d05df7 Add ability to opt-in to int8 parsing
Switching the result of all COUNT operations to a string is
a pretty nasty breaking change, and the majority of us aren't
going to be hitting numbers larger than Number.MAX_VALUE
2013-08-29 00:04:27 -05:00
003ee692f0 Merge pull request #426 from reezer/patch-1
add zoomsquare to the list of production users
2013-08-27 08:48:53 -07:00
Christian Sturm
03eebc4e7a add zoomsquare to the list of production users 2013-08-27 11:07:48 +02:00
Brian Carlson
71932748ff Update news 2013-08-22 22:33:38 -05:00
Brian Carlson
4638ab3ab0 Bump version 2013-08-22 22:32:21 -05:00
Brian C
84af374ab7 Merge pull request #420 from brianc/perf
Performance Improvements
2013-08-22 20:29:27 -07:00
rpedela
6b6b92b975 #181 #366 Add support for single row mode in Postgres 9.2+. This will enable single row mode only when the user wants to stream rows. 2013-08-22 13:28:48 -06:00
rpedela
7ee5504038 Ignore gedit backup files. 2013-08-22 13:26:09 -06:00
Brian Carlson
76e3c7c41b Merge branch 'master' 2013-08-17 17:40:55 -05:00
Brian Carlson
beeae35291 Fix js-hint error 2013-08-17 17:33:27 -05:00
Brian Carlson
c98125b065 Use on('data') for v0.8.x 2013-08-17 17:25:24 -05:00
Brian Carlson
5108161a47 Cleanup & tweak perf a bit 2013-08-17 14:21:19 -05:00
bmc
a69cb0d36f Remove unused function
Just a bit of code cleanup
2013-08-07 16:49:19 -05:00
Brian Carlson
306f5dd493 Add comments 2013-08-07 15:35:07 -05:00
Brian Carlson
4cdd7a116b Compile result parsing for a 60% speed increase
Tested against a 1000 row result set.  Need to test against
smaller result sets & figure out a way to make this backwards compatible if possible
2013-08-07 15:33:57 -05:00
Brian Carlson
b6bca99489 Minor speed improvements 2013-08-07 12:41:38 -05:00