Commit Graph

1235 Commits

Author SHA1 Message Date
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
bmc
690f224c11 Bump version 2013-06-18 21:44:50 -05:00
bmc
e217047037 update news file 2013-06-18 21:39:14 -05:00
Brian C
42bae0c55e Merge pull request #353 from sevastos/bigint-bulletproofing
Handle bigint as string to prevent precision loss
2013-06-18 19:21:43 -07:00
Brian C
a39c0819b1 Merge pull request #376 from strk/master-verbosefailure
Be more verbose about failures of incorrect copy usage test
2013-06-18 07:01:24 -07:00
Sandro Santilli
50b42f7eca Be more verbose about failures of incorrect copy usage test 2013-06-18 12:31:52 +02:00
bmc
f91120b95e update news file 2013-06-06 19:34:37 -05:00
bmc
c63f748af5 Bump version 2013-06-06 19:33:56 -05:00
Brian C
d525528f4f Merge pull request #370 from badave/master
Makes client_encoding configurable and optional
2013-06-06 17:31:39 -07:00
Dave
6fea79712c Client encoding in defaults as well 2013-06-06 12:32:04 -07:00
Dave
6b4bc3945f Uses val function instead 2013-06-06 12:24:12 -07:00
Dave
f658b31aed Changing to client_encoding, adding test for creating a connection 2013-06-06 12:16:36 -07:00
Dave
d69070529c Makes encoding an optional parameter 2013-06-06 12:06:52 -07:00
bmc
bbf945968e Bump version 2013-06-04 21:19:58 -05:00
Brian C
4f8cce4adc Merge pull request #209 from brianc/issues/209
Feature request: access field names and types even when NO rows are returned
2013-06-04 19:16:06 -07:00
Brian C
b6308715dd Merge pull request #359 from CartoDB/master-produse
Add cartodb.com as production user
2013-06-03 11:24:51 -07:00
Brian Carlson
337d49dddb Return field metadata on result object
Closes #209
Native implementation requires significant refactor and so I wont work on this
if/until there is an issue for it
2013-06-03 12:14:47 -05:00
Brian Carlson
7c12630d11 Bump version 2013-06-03 11:46:21 -05:00
Brian Carlson
43a8cd196f Remove prepublish script. Closes #363 2013-06-03 11:42:49 -05:00
Brian C
9dd02829a0 Merge pull request #362 from CartoDB/master-news
Fix NEWS item about pg.connect callback.
2013-06-03 06:05:05 -07:00
Sandro Santilli
0a40afc601 Fix NEWS item about pg.connect callback. CLoses #358. 2013-05-28 15:32:24 +02:00
Sandro Santilli
49200a77a6 Add cartodb.com as production user 2013-05-27 10:13:42 +02:00
sevastos
c2a93aafa5 Small improvements in parsers, additions to tests 2013-05-27 10:55:49 +03:00