Commit Graph

1413 Commits

Author SHA1 Message Date
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
Brian Carlson
56b7c4168d Create message in each parsing function 2013-08-07 12:20:51 -05:00
Brian Carlson
31318c02a2 Speed up JavaScript parser slightly 2013-08-07 11:57:43 -05:00
Brian Carlson
e778348fe1 Bump version 2013-08-01 09:32:21 -05:00
Brian C
a17f7fc381 Merge pull request #409 from rpedela/master
Fix build when escape functions are not supported in libpq
2013-08-01 07:26:55 -07:00
Brian Carlson
c3dcf2835c Update news 2013-07-30 13:17:22 -05:00
Brian Carlson
de7229a937 Bump version 2013-07-30 13:15:47 -05:00
Brian Carlson
fb5520bb8a Remove built-in binary int64 parser 2013-07-30 13:15:31 -05:00
rpedela
6dffc0c6cd Include version 9.0.0 in escape function check. 2013-07-29 15:49:12 -06:00
rpedela
8129f19409 Include pg_config.h to get PG_VERSION_NUM. 2013-07-29 15:49:12 -06:00
rpedela
cf07a4f2b4 #403 Only use native escape functions if PG version >= 9.0.0. Otherwise use the JS functions. 2013-07-29 15:45:36 -06:00
rpedela
baaacd2a8f Move string escaping tests to proper locations. 2013-07-29 15:45:36 -06:00
rpedela
58759bf5fa Add native and JS tests for escapeLiteral and escapeIdentifier. 2013-07-29 15:45:35 -06:00
Brian Carlson
a17f44a4a1 Bump version 2013-07-23 10:30:58 -05:00
Brian Carlson
910cc134c9 Make ref an optional dependency
The ref module adds a compile step even when using the pure-JavaScript client.
This makes the installation optional so if the install fails due to not having
a compiler around you can still use the JavaScript client.

closes #398
2013-07-23 10:10:41 -05:00
Brian Carlson
343caefb75 Fix race in error handling test 2013-07-23 09:51:48 -05:00