Commit Graph

1070 Commits

Author SHA1 Message Date
Brian C
07862726c0 Merge pull request #252 from brianc/connection-parameters
Connection parameters
2013-01-23 20:29:52 -08:00
Liam Kaufman
30fce731ca added unit tests for the three array types 2013-01-23 20:35:20 -05:00
bmc
113b6298e2 use ConnectionParameters with native bindings and remove unused util functions 2013-01-22 23:23:47 -06:00
bmc
020607c49c return false as default/fall-through value 2013-01-22 23:17:10 -06:00
bmc
edfa3b5cdc add assert.calls to async functions within tests 2013-01-21 16:30:59 -06:00
bmc
1e3107aa55 use ConnectionParameters for js client properties 2013-01-21 16:14:19 -06:00
bmc
9dad56a54e add more functionality to connection parameters 2013-01-21 15:44:55 -06:00
bmc
6da25609cf fix native compile warnings 2013-01-21 15:44:34 -06:00
bmc
ec0d0beff2 build libpq connection string & support domain socket 2013-01-21 15:09:44 -06:00
bmc
b9cedb28d8 version bump 2013-01-20 19:57:25 -06:00
anton
88d684f925 bugfix. sometimes native copy to loose rows 2013-01-20 19:45:41 -06:00
anton
583d059947 add tests that checks error reporting for incorrect copy to/copy from usage. add tests for fixed bug in native copy from implementation 2013-01-20 19:45:41 -06:00
anton
7ca21acb25 handle situation, when broken copy to query, ends before it is canceled 2013-01-20 19:45:41 -06:00
anton
8ea2f259ed bugfix: correctly create new connection for canceling copy to query 2013-01-20 19:45:41 -06:00
anton
c5c31143c1 1. behave correctly if copy to/from is send to db by query method (report error in standart way); 2. bugfix and code review in native copy to implementation 2013-01-20 19:45:40 -06:00
bmc
868a9d0e8d remove node-tap 2013-01-20 19:42:40 -06:00
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