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
bmc
95507dac5f
Enable connection failure error handling tests
2013-06-30 11:39:07 -07:00
bmc
81ce2f6d9c
Make test more robust
2013-06-30 00:12:43 -07:00
Brian C
5806afc8a1
Merge pull request #276 from bryanburgers/connection-url-ssl
...
Add ssl query string to the connection string parser #275
2013-06-29 23:24:02 -07:00
bmc
44784fa2f3
Fix JavaScript SSL upgrade logic
...
I had accepted the pull request way back without proper test coverage.
I've added test coverage & fixed this long-standing bug.
2013-06-29 23:20:48 -07:00
bmc
53a772af49
Add heroku password to heroku test
2013-06-29 23:19:17 -07:00
bmc
f69fe95042
Add failing test for heroku ssl connection
2013-06-29 22:15:56 -07:00
Brian C
95da124744
Merge pull request #385 from memosanchez/pg-default-test-hostname
...
Add default value for database host to lib/defaults.js
2013-06-29 15:50:31 -07:00
Brian C
a943500358
Merge pull request #381 from hoegaarden/master
...
force usage of pg.native via environment variable
2013-06-29 15:49:50 -07:00
Guillermo A. Sanchez
738c966112
Add default value for connection host.
...
Native binding connection tests will fail if the PGHOST environment variable is not set.
There already exists several defaul values for user, password and port. It would make sense to have a default host setting as well - localhost appears to be a reasonable default.
2013-06-29 14:46:45 -07:00
Hannes Hörl
b313a392a7
delete the entire module cache
2013-06-29 10:15:39 +02:00
Hannes Hörl
0d1054a874
remove modules from the cache & load test-helper
2013-06-27 02:42:21 +02:00
Hannes Hörl
7103c044f1
fixed wrong name for test file ... again
2013-06-27 01:52:21 +02:00
Hannes Hörl
0b149e6619
fixed wrong name for test file
2013-06-27 01:47:00 +02:00
Hannes Hörl
37f4d504d2
added test case for NODE_PG_FORCE_NATIVE
2013-06-27 01:37:54 +02:00
Hannes Hörl
e9cb2965e9
Bugfix: safe call of .hasOwnProperty(...)
2013-06-26 23:46:15 +02:00
Hannes Hörl
c126ba1c7c
Added NODE_PG_FORCE_NATIVE to force usage of libpg bindings (native client)
2013-06-26 22:32:07 +02:00