bmc
92e75f0577
add ConnectionParameters object
2013-01-20 19:42:39 -06:00
Brian C
bd02375347
Merge pull request #249 from booo/unix_sockets
...
fixing support for Unix sockets in native binding (rebased)
2013-01-20 17:42:17 -08:00
soletan
d55d145378
fixing support for Unix sockets in native binding
...
Binding natively connections to Unix sockets failed due to DNS lookups applied on pathname to Unix socket's folder.
2013-01-18 23:58:51 +01:00
Liam Kaufman
18e63f1e86
added char[] and varchar[] to parsed datatypes
2013-01-17 17:57:10 -05:00
Brian C
ff77458ba6
Merge pull request #246 from voodootikigod/master
...
Adding SaferAging as a production use of library
2013-01-17 11:17:34 -08:00
Chris Williams
e6509c273c
Adding SaferAging to Production use cases
2013-01-17 11:23:25 -05:00
Brian Carlson
01c7d16085
version bump
2013-01-16 10:51:39 -06:00
Brian C
bd04758a84
Merge pull request #242 from CartoDB/master-error-on-missing-stream
...
Cleanly handle missing stream error on COPY operation. Closes #241
2013-01-16 08:46:26 -08:00
Brian C
d55cae554b
Merge pull request #243 from CartoDB/master-make
...
Add prepare-test-db rule and advertise it
2013-01-16 08:28:00 -08:00
Brian C
9286a66303
fix query in readme - closes #244
2013-01-16 10:00:48 -06:00
Sandro Santilli
2fc22de21a
Send backend a CopyFail when no stream is defined to copy from
2013-01-16 12:41:14 +01:00
Sandro Santilli
a39e0d7cc9
Rework handling of missing stream object for copy ops
...
This version works better (doesn't throw) but also doesn't report
any error, which is not good
2013-01-16 12:04:28 +01:00
Sandro Santilli
4856385b1d
Add prepare-test-db rule and advertise it
2013-01-16 10:53:06 +01:00
Sandro Santilli
de9d5e3cd5
Cleanly handle missing stream error on COPY operation. Closes #241
2013-01-16 10:11:55 +01:00
Brian C
21c31f69e6
Update README.md
2013-01-15 17:29:04 -06:00
Brian C
14efde48fa
Update README.md
...
Remove much of the 'promotional' wording
Remove 'contributors' section since it's provided by GitHub now
Simplify examples
Remove references to the connection pool
Add sections on contributing and opening issues
2013-01-15 17:25:54 -06:00
bmc
73fa1b0c50
remove unused old benchmarks
2013-01-08 21:16:00 -06:00
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