Commit Graph

1035 Commits

Author SHA1 Message Date
sevastos
c2a93aafa5 Small improvements in parsers, additions to tests 2013-05-27 10:55:49 +03:00
sevastos
f827f56ed2 BigInt parsing bullet-proofing 2013-05-23 20:10:08 +03:00
bmc
30d97e3a31 Bump version 2013-05-23 10:24:57 -05:00
bmc
bb8a39b7b0 Bump generic-pool patch version 2013-05-23 10:24:43 -05:00
Brian C
b7f81f8af3 Merge pull request #356 from Hebo/pgbouncer_encoding_libpq_fix
Fix client_encoding setting to support pg_bouncer when using libpq (#270)
2013-05-23 07:51:16 -07:00
Hebo
323a2f9f49 Fix client_encoding setting to support pg_bouncer when using libpq (#270) 2013-05-21 14:37:06 -07:00
bmc
aeda9dab50 Bump version 2013-05-20 17:22:00 -05:00
Brian C
1995601dda Merge pull request #354 from andreypopp/native-fix-domain
Preserve an active domain on I/O in native bindings
2013-05-20 15:16:17 -07:00
Andrey Popp
4458e69285 call EventEmmiter constructor on native Connection
this allows to preserve an active domain on switches in libpq
2013-05-20 18:31:55 +04:00
Andrey Popp
fddf0546d0 test for native to preserve an active domain 2013-05-20 18:30:56 +04:00
bmc
3bfc8e9b68 Update documentation
Include minor version release notes
Remove note about deprecation
2013-04-22 10:53:25 -05:00
bmc
ebc7969931 Bump version 2013-04-22 10:49:07 -05:00
Brian C
1e888da0e1 Merge pull request #239 from brianc/json-support
add support for json data type
2013-04-22 08:48:34 -07:00
bmc
ddc2ae9bec Run script to create test table on postgres 9.2 2013-04-22 10:38:47 -05:00
bmc
12e4a2b98d Run the second pass of the tests on postgres 9.2 2013-04-22 10:35:26 -05:00
bmc
537e8e763e Skip JSON tests on older versions of postgres 2013-04-22 10:26:43 -05:00
bmc
874c924f7a Add test file
Forgot to add this to the last commit
2013-04-22 10:19:08 -05:00
bmc
10e6d85266 Add support for JSON data type
requires >= 9.2 of postgres
2013-04-22 10:18:17 -05:00
bmc
3997b38b44 Shell out for recursive make 2013-04-22 05:52:41 -05:00
bmc
94cc165b5e Remove create DB portion of travis script 2013-04-22 05:48:33 -05:00
bmc
a8cfa18f09 Add tests for pg@9.2 on travis 2013-04-22 05:18:13 -05:00
bmc
b9f8011dab Bump version 2013-04-22 04:58:03 -05:00
bmc
2ef1bbf8de Parse minutes in timezone description
Minutes in timezones are separated with a colon from the hour.

This closes #309
2013-04-22 04:57:46 -05:00
bmc
bff8bc259c Bump version 2013-04-22 04:18:12 -05:00
Brian C
8a2e864b30 Merge pull request #238 from cdauth/master
Store timezone-less dates in local time instead of UTC
2013-04-22 02:17:05 -07:00
Brian C
c8c4a6d03d Merge pull request #334 from aleyush/check_pg_config
Check pg_config existance
2013-04-19 11:21:39 -07:00
aleyush
552a844565 Second try: this should work multiplatform. 2013-04-19 21:38:24 +04:00
aleyush
528c608a20 Check if pg_config exists on windows. 2013-04-19 21:07:41 +04:00
bmc
d51994c646 version bump 2013-04-19 09:26:37 -05:00
bmc
56a5903a02 Make throws in query error callback not break client
If you receive an error while running a query and in user's callback
they throw an exception it can disrupt the internal query queue
and prevent a client from ever cleaning up properly
2013-04-19 09:25:53 -05:00
bmc
9b1c4facc2 Make query callback exceptions not break client
If you throw an exception in a query callback the client will not pulse
its internal query queue and therefor will never process any
more queries or emit its own 'drain' event.

I don't find this to be an issue in production code since I restart
the process on exceptions, but it can break tests and cause things
to 'hang'.  My crude benchmarks show no noticable impact in perf
from the try/catch/rethrow.

:q
2013-04-19 09:09:28 -05:00
brianc
e95d28d3f1 version bump 2013-04-18 15:16:25 -05:00
Brian C
07fd762137 Merge pull request #331 from brianc/postgres-gte-9.2
fix tests on new versions of postgres
2013-04-17 08:32:51 -07:00
brianc
3f5df0afa2 make tests pass on pg@8.4.9 2013-04-17 10:29:42 -05:00
Brian C
01f3f3da53 use master branch url for travis image 2013-04-17 09:59:10 -05:00
brianc
f5f5320b15 fix tests on older versions of postgres 2013-04-17 09:54:16 -05:00
bmc
f55a0cd1b4 fix tests for postgres >= v9.2.0 2013-04-17 09:26:31 -05:00
Brian C
541832658e Merge pull request #329 from Pegase745/master
Travis Nodejs 0.10 build error correction
2013-04-17 06:34:57 -07:00
Pegase745
0ccdee4b93 Travis Nodejs 0.10 build error correction
Putting it between double quotes permits Travis to not see it as Node 0.1 but 0.10
2013-04-17 14:15:02 +03:00
Candid Dauth
3aedebb0b0 Fixing parsing of timestamps without timezone in binary mode 2013-04-11 01:11:08 +02:00
Candid Dauth
62800f1db0 Adding test for timezone handling (#238) 2013-04-11 00:42:37 +02:00
Candid Dauth
694fc3eb6e Fixing code style to make #238 pass jshint 2013-04-11 00:41:15 +02:00
Candid Dauth
bde871707b Storing timezone-less dates in local time instead of UTC
Issue #225 caused such dates to be read, but not stored in local time.
2013-04-10 23:10:44 +02:00
bmc
b33c266734 increase speed of javascript parser ~5% 2013-04-08 19:04:17 -05:00
bmc
f16eaa8555 Merge branch 'benchmark' 2013-04-08 16:44:54 -05:00
bmc
ca5c10a02f clean up connection slightly & add initial bench 2013-04-08 16:44:41 -05:00
Brian C
4e822a11e2 Merge pull request #322 from KingKarl85/master
line 7 - var utils declared and not used on client.js
2013-04-05 07:29:54 -07:00
Karl Mikkelsen
44e4586e18 var utils declared and not used 2013-04-05 17:46:23 +12:00
bmc
835f71a76f reduce bench itterations 2013-04-04 13:50:17 -05:00
bmc
3d7c31fa4a Merge branch 'master' into benchmark 2013-04-04 13:06:53 -05:00