Commit Graph

1044 Commits

Author SHA1 Message Date
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
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