Commit Graph

1125 Commits

Author SHA1 Message Date
anton
98286152dd bugfixes in copy from stream. drain event 2013-01-06 12:06:26 -06:00
anton
d2b21aa95e just comments 2013-01-06 12:06:26 -06:00
anton
5cb871c143 minimal error handling 2013-01-06 12:06:26 -06:00
anton
c014096e0e COPY TO/FROM native/libpq done. Looks like it works, but need to test 2013-01-06 12:06:26 -06:00
Christopher Dolan
691b07f1ee add gyp target for sunos 2012-12-30 06:54:11 +00:00
Brian C
d00e5341ea update tested versions - closes #233
node-postgres has been around a while.
It's now tested with more current versions of node.
2012-12-28 00:30:42 -06:00
bmc
b8b0e25212 bump version 2012-12-16 01:00:50 -06:00
bmc
e2713084c3 version bump 2012-12-16 00:59:37 -06:00
Stephen Sugden
903e9b25ea Attach Query constructors to Client constructors 2012-12-16 00:58:30 -06:00
Stephen Sugden
5d25bcdcf0 add some tests for normalizeQueryConfig 2012-12-16 00:58:30 -06:00
Stephen Sugden
5a91dd0c35 Use normalizeQueryConfig with native driver 2012-12-16 00:58:30 -06:00
Stephen Sugden
5dae2b267f Extract query config normalization into utils 2012-12-16 00:58:30 -06:00
brianc
102a069bd2 have native bindings emit proper result object on 'end' event - closes #219 2012-12-10 23:25:26 -06:00
brianc
99f1717ba8 make error message text more obvious 2012-12-10 23:23:23 -06:00
brianc
1c43930ba1 cleanup & fix failing tests to allow for green merge of pull #228 2012-12-10 22:44:58 -06:00
brianc
0c487fc078 give failing tests a name 2012-12-10 22:26:23 -06:00
Troy Kruthoff
e62eb9339b make Query a public api 2012-12-10 21:32:20 -06:00
brianc
312a3dd01c update tests to assert local time for timestamp without timezone -- bumps minor version 2012-12-10 21:24:40 -06:00
Sandro Santilli
ecee5529e4 Add comment about which oid correspond to which datetime field 2012-12-10 20:46:44 -06:00
Sandro Santilli
b7fd9a5625 Do not assume dates with no timezone specifier are UTC
Fixes #225
2012-12-10 20:46:44 -06:00
brianc
8b9e97f5b9 update version of node-pool closes gh #223
added integration test to catch any future regressions
2012-12-04 17:53:04 -06:00
brianc
128975e6f3 version bump 2012-12-04 14:18:34 -06:00
brianc
c5b804f5c4 fix reference to ssl parameters 2012-12-04 14:18:19 -06:00
bmc
62385edbe7 version bump 2012-11-03 16:07:09 -05:00
bmc
1b56d154a7 make 1st example not hang in readme 2012-11-03 16:06:56 -05:00
Brian C
460d5d0ab0 Merge pull request #215 from natesilva/ipv6-native-support
enable IPv6 support when using native bindings
2012-11-03 14:02:53 -07:00
Brian C
aa242b028b Merge pull request #213 from gurjeet/use_getFullYearInExample
Use JS Date's getFullYear() in first example.
2012-11-03 14:01:15 -07:00
Nate Silva
4b88c82b16 enable IPv6 support when using native bindings 2012-11-03 11:40:36 -07:00
Gurjeet Singh
a138407c6a Use JS Date's getFullYear() in first example.
In year 2012, seeing the output of 112 confused me, and would potentially
confuse any JS noob. I thought it was some bug in node-postgres.

Presumably, JS starts counting time from Jan 1, 1900!

Also, according to [1], getYear() is deprecated and one should use getFullYear()
instead.

[1] http://www.w3schools.com/jsref/jsref_obj_date.asp
2012-11-03 08:43:13 -04:00
brianc
a029e6512b version bump 2012-10-15 17:58:17 -05:00
brianc
c204a27caf Merge remote-tracking branch 'kongleaks/improveSendQueryErrorMsgAccuracy' into pull/188 2012-10-15 17:55:46 -05:00
brianc
ee36344a26 add test for exported types 2012-10-15 17:47:28 -05:00
Michael Jackson
ffe4cdcf27 Export types module 2012-10-15 17:45:06 -05:00
brianc
09a3701ca4 version bump 2012-10-15 17:43:41 -05:00
brianc
40f084460e ignore hanging tests 2012-10-15 17:43:14 -05:00
Brian C
d715515f94 Merge pull request #196 from booo/uv_events
windows build
2012-10-10 07:40:01 -07:00
Brian C
fc91f36dc9 Merge pull request #197 from andresgottlieb/patch-1
Update README.md
2012-10-09 14:50:06 -07:00
Andres Gottlieb
f9042f2dc9 Update README.md
Added Vendly to production use section
2012-09-30 13:40:37 -03:00
booo
e4c8d95177 Change library extension for windows build.
Thanks to image72!
2012-09-26 22:00:25 +02:00
booo
4cb66d1a94 Add conditions to the binding.gyp for windows, linux, mac. 2012-09-26 22:00:25 +02:00
booo
7826e492b4 Change return type of Cancel() to bool.
This should fix the following warning on windows:

..\src\binding.cc(117): warning C4800: 'int' : forcing value to bool 'true' or
'false' (performance warning)

Spotted in issue #165.
2012-09-26 22:00:24 +02:00
booo
175d18dce7 Fix for issue #165. Use libuv events instead of libev events. 2012-09-26 22:00:24 +02:00
bmc
9341efe669 allow options to pass to js ssl connection bindings 2012-09-10 21:40:41 -05:00
bmc
a1d00919b0 version bump 2012-09-09 21:27:22 -05:00
bmc
886926a777 pass result object to native query 'row' event - closes #183 2012-09-09 21:13:36 -05:00
bmc
6640271f53 add failing test for #183 2012-09-09 20:53:12 -05:00
Brian C
ba733f5cde Merge pull request #174 from grncdr/typo_fix
Fix typos in simple-query-tests.js
2012-08-20 19:45:25 -07:00
brianc
1703f47bbd add comma 2012-08-20 21:43:29 -05:00
brianc
d19e6971d1 version bump 2012-08-20 21:42:40 -05:00
Bruno Harbulot
158562f3d1 Initial support for SSL/TLS connections. 2012-08-20 21:41:56 -05:00