Commit Graph

1131 Commits

Author SHA1 Message Date
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
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
Brian C
7c21815bdf Merge pull request #407 from deafbybeheading/canonical-url
Use the standard postgres:// URL prefix for consistency
2013-07-23 06:57:40 -07:00
Maciek Sakrejda
816e9b43ea Use the standard postgres:// URL prefix for consistency
Fixes #286.
2013-07-22 10:45:26 -07:00
Brian C
78c0456504 Merge pull request #402 from DanLovesProofs/master
Adds Heap as a production user
2013-07-19 06:46:36 -07:00
Dan Robinson
fa12bc8131 Adds Heap as a production user
And proudly!
2013-07-18 15:14:12 -07:00
Brian Carlson
8b8c857d76 Bump version 2013-07-15 09:42:42 -05:00
Brian Carlson
41d8ccad58 Update news 2013-07-15 09:25:58 -05:00
Brian Carlson
287d7e67a3 Handle NULL return from MallocCString 2013-07-15 09:22:37 -05:00
rpedela
539d3bae54 Move string escaping tests to proper locations. 2013-07-15 09:13:48 -05:00
rpedela
ffe51c20f2 Add missing semicolons. 2013-07-15 09:13:48 -05:00
rpedela
b5e89b2b9a Add native and JS tests for escapeLiteral and escapeIdentifier. 2013-07-15 09:13:48 -05:00
rpedela
876018e103 Add support for PQescapeLiteral and PQescapeIdentifier. Also add JS versions of the functions. 2013-07-15 09:13:48 -05:00
Brian C
a1816edf40 Update NEWS.md
writing ain't my strong suit
2013-07-09 23:25:17 -05:00
Brian C
ce633bcb0d Update NEWS.md
add patch version numbers for clarity
2013-07-09 23:21:14 -05:00
bmc
c38fedef80 Bump version 2013-07-09 23:19:36 -05:00
bmc
6ac4e6d141 update news 2013-07-09 23:19:06 -05:00
Brian C
f263fe1b0a Merge pull request #393 from brianc/issues/324
add support for result rows as arrays
2013-07-09 21:05:18 -07:00
Brian Carlson
145666c1b3 Support result rows as arrays 2013-07-08 17:45:06 -05:00
Brian Carlson
325a6d9153 Add failing test for result rows as arrays 2013-07-08 09:40:32 -05:00
Brian Carlson
5462561e51 Cache result parser lookups 2013-07-08 09:32:53 -05:00
Brian Carlson
413eff72e5 Move row parsing into result object 2013-07-08 09:30:10 -05:00
Brian Carlson
3f96bbbc5c Add field metadata to query result object
Refactored the way rows are built in the native bindings which should
result in a small performance improvement
2013-07-08 09:19:30 -05:00
Brian Carlson
05e9026aea Remove tab character 2013-07-08 08:16:10 -05:00
Brian Carlson
3f4a44e973 Skip error test on travis
Some weird thing with the environment up there is causing the test
to fail about 30% of the time it runs.
2013-07-08 08:04:53 -05:00
Brian C
9d773a29c2 Merge pull request #387 from brianc/issues/350
Ensure error being returned to native client
2013-07-08 05:52:25 -07:00
Brian Carlson
d3ba322e3c Add more output to test to help debug it on travis 2013-07-05 12:52:04 -05:00