Commit Graph

1123 Commits

Author SHA1 Message Date
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
Brian C
95a5bba4bf Update README.md 2013-07-03 13:03:46 -05:00
Brian C
2ad1ad4d24 Update README.md 2013-07-03 13:02:37 -05:00
Brian C
b9f103dd17 Updated README.md 2013-07-03 10:55:35 -07:00
Brian C
58b4f266ea Merge pull request #386 from brianc/js-ssl
Fix long-standing hanging SSL connection but with JavaScript
2013-07-01 12:43:54 -07:00
Brian C
300e70c630 Merge pull request #388 from brianc/issues/320
Issues/320
2013-07-01 12:43:36 -07:00
bmc
75181492f2 Fix native quick disconnect hang
Do not initialize connection if connection has been ended
2013-06-30 12:03:58 -07:00
bmc
12cc7d53d8 Add failing test for native quick disconnect hang 2013-06-30 12:03:27 -07:00
bmc
5c6e58c017 Remove uv_poll error short-circuit
Fixes #350
2013-06-30 11:39:31 -07:00