Commit Graph

887 Commits

Author SHA1 Message Date
bmc
6c990374bd remove unused development file 2013-01-08 21:15:12 -06:00
brianc
9c98d77773 version bump 2013-01-06 12:13:55 -06:00
Brian C
091be97e15 Merge pull request #235 from cdolan/master
Add binding.gyp target for SunOS
2013-01-06 10:13:18 -08:00
brianc
adb03565ee version bump 2013-01-06 12:10:43 -06:00
anton
4667e1dea3 test if copy query and other queries queued correctly 2013-01-06 12:06:27 -06:00
anton
b6fcffc302 write messages for assertions 2013-01-06 12:06:27 -06:00
anton
4ef99b2e8e write unit tests for CopyToStream class 2013-01-06 12:06:27 -06:00
anton
3a2684c928 add unit tests for copyFromStream class 2013-01-06 12:06:27 -06:00
anton
bcd47edd62 write tests for copy to/from on the level of client library 2013-01-06 12:06:27 -06:00
anton
965b7b4f84 test event exchange between libpq bindings and js while COPY TO/FROM 2013-01-06 12:06:26 -06:00
anton
ba1e3546f1 test connection and backend event exchange during COPY TO/FROM 2013-01-06 12:06:26 -06:00
anton
8bcd40595d make copy related events to have same names in native and libpq clients 2013-01-06 12:06:26 -06:00
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