Commit Graph

1387 Commits

Author SHA1 Message Date
Brian M. Carlson
75473221e7 Print out unfired function 2014-10-01 19:03:24 -04:00
Brian M. Carlson
c5d4207aac Fix a few more failing tests 2014-09-23 18:57:20 -04:00
Brian M. Carlson
e99f8d59a6 Remove test skip 2014-09-14 21:14:24 -04:00
Brian M. Carlson
d2bb532d73 Make moar tests pass 2014-09-14 21:11:51 -04:00
Brian M. Carlson
667c528ea6 Work towards more tests passing 2014-09-14 01:23:02 -04:00
Brian M. Carlson
b325971fdf Make more tests pass 2014-09-13 22:37:30 -04:00
Brian M. Carlson
9a68682109 First tests passing for new native bindings 2014-09-13 12:32:53 -04:00
Brian M. Carlson
4c81c6da25 Bump version 2014-09-03 15:41:48 -04:00
Brian C
c928696b37 Merge pull request #630 from santigimeno/fix_nan
src: update to nan@1.3.0
2014-09-03 15:41:14 -04:00
Santiago Gimeno
7a8940f4a0 src: update to nan@1.3.0
- It builds in 0.8, 0.10. and 0.11.13 without warnings.
2014-09-03 18:50:23 +02:00
Brian C
7d05eb7368 Update .travis.yml
Don't install a particular version of npm
2014-09-02 16:58:52 -04:00
Brian M. Carlson
ee19e74ffa Bump version 2014-08-10 16:30:00 -04:00
Brian C
fbb21df6be Update README.md
bitfloor no longer exists
2014-08-06 18:45:31 -04:00
Brian C
be73773d36 Merge pull request #620 from Jarvix/timeout_error_fix
Pool: Only call destroy on a client when it is not already being destroyed
2014-08-06 12:08:08 -04:00
Brian C
3d4ae51eb9 Merge pull request #621 from Jarvix/update_deps
Update all dependencies to their latest versions.
2014-08-06 12:06:18 -04:00
Jos Kuijpers
1c17177369 Only call destroy on a client when it is not already being destroyed
Adds a check in the error listener on the client in the pool, to
prevent calling destroy on a client when it is already being
destroyed.
Without this check, if an error occurs during the ending of the
stream, such as a timeout, the client is never removed from
the pool and weird things happen.
2014-07-30 14:17:04 +02:00
Jos Kuijpers
74c956023e Update all dependencies to their latest versions. 2014-07-29 21:46:41 +02:00
Brian M. Carlson
ac0d1c71c2 Update news 2014-07-13 12:31:34 -04:00
Brian M. Carlson
3438fda677 Bump version 2014-07-13 12:31:19 -04:00
Brian M. Carlson
0c6dca4173 Update news file 2014-07-13 12:31:12 -04:00
Brian M. Carlson
ae2615cb44 New version of pg-types 2014-07-13 12:28:28 -04:00
Brian C
ec81ff1d12 Merge pull request #615 from iceddev/master
switch to pg-connection-string module for parsing
2014-07-06 19:42:32 -04:00
Blaine Bublitz
54271a2df3 switch to pg-connection-string module for parsing 2014-07-06 16:39:22 -07:00
Brian C
732e720d54 Merge pull request #608 from gurjeet/misc_unit_test_improvements
Miscellaneous improvements in unit tests.
2014-07-06 19:25:27 -04:00
Brian C
c4f914166f Merge pull request #607 from gurjeet/improve_escape_tests
Improve unit tests of escape-literal/identifier, and remove them from integration tests.
2014-07-06 19:25:16 -04:00
Brian C
8592be7176 Merge pull request #604 from markyen/socket-port
Include port as a connection parameter for socket connections
2014-07-06 19:24:09 -04:00
Brian C
d9b72f5d2d Merge pull request #603 from DaAwesomeP/master
Add Windows instructions to README
2014-07-06 19:23:36 -04:00
Mark Yen
bf26569445 Fixes travis build for 0.8 2014-07-06 11:54:23 -07:00
Gurjeet Singh
ef40b6f3e9 Re-add the test for SELECT tag; I was wrong in my assumption.
Postgres generally does not emit a SELECT tag after a SELECT query, but
it does emit that tag after a CREATE TABLE x AS SELECT query.

Example:

postgres=# create table t as select 1;
SELECT 1
2014-06-22 08:19:26 -04:00
Gurjeet Singh
23b29c9846 Update a test to pass. 2014-06-17 09:15:14 -04:00
Gurjeet Singh
6530ce27fe Miscellaneous improvements in unit tests.
End statements with semicolons, to be consistent with the surrounding
code.

Added a new unit test to ensure environment variables are honored when
parsing a
connection string.

Added a TODO to cleanup a test that emits messages using console.log().

Correct a query's syntax. Looks like a good thing to do even though the
syntax
doesn't matter in mocked out tests.

Removed a test that tests for SELECT tags; AFAIK, SELECT commands don't
emit a
tag.
2014-06-15 17:33:23 -04:00
Gurjeet Singh
75760c4aa2 Improve unit tests of escape-literal/identifier, and remove them from integration tests.
Improve the code and clarity of unit tests in escape-tests.js. And
removed the related integration tests since it has been demonstrated in
the unit tests that a connection is not needed for escaping the literals
and identifiers.
2014-06-15 17:09:34 -04:00
Brian C
450c52c044 Update .travis.yml
Remove v0.8 support because it no longer ships with a working npm
2014-06-13 13:55:41 -04:00
P THE AWESOME
1e5ab8451c Add Windows instructions & more "Extras" links 2014-06-12 11:29:15 -05:00
Mark Yen
fa17b6882a Include port as a connection parameter for socket connections 2014-06-11 18:18:11 -07:00
P THE AWESOME
36663f566e Add Windows instructions to README 2014-06-11 17:32:13 -05:00
Brian M. Carlson
3eccf5c4a8 Bump version 2014-06-04 10:03:16 -04:00
Brian M. Carlson
6b450f0081 Update version of pg-types to support timestamptz arrays 2014-06-04 09:58:17 -04:00
Brian M. Carlson
5b03386c44 Bump version 2014-05-22 12:15:39 -04:00
Brian M. Carlson
c4f8f2cc04 Update news 2014-05-22 12:13:27 -04:00
Brian M. Carlson
7e774da7f4 Update version of pg-types 2014-05-22 12:10:19 -04:00
Brian C
e81245fce4 Merge pull request #591 from seegno/allow-config-override
Add support for overriding generic pool defaults
2014-05-22 12:09:46 -04:00
Brian C
f8df873023 Merge pull request #594 from lukemurray/master
avoid eval if the row is returned as an array
2014-05-22 12:09:09 -04:00
Brian C
79a4bf630a Merge pull request #589 from marekventur/master
Make sure 'end' is emitted even if no connection has ever happened
2014-05-22 11:32:29 -04:00
Luke Murray
a8f9b7dc93 avoid eval if the row is returned as an array 2014-05-21 00:44:53 +10:00
Nuno Sousa
7612bbc402 Add support for overriding generic pool defaults 2014-05-16 15:00:18 +01:00
Marek
47b0aafa6d Make sure 'end' is emitted even if no connection has ever happened 2014-05-13 12:57:01 +01:00
Brian C
3898f5d8b2 Update NEWS.md 2014-05-12 09:57:09 -04:00
Brian M. Carlson
c238faba8e Bump version 2014-05-12 09:54:18 -04:00
Brian M. Carlson
a29affe17e Update news 2014-05-12 09:54:04 -04:00