wink
e0313aeffd
if PQconsumeInput returns 0, something broke, throw an error!
2012-03-01 15:13:47 -06:00
Christophe Macabiau
fe6d5aeb68
query cancellation (libpq native binding)
2011-11-02 19:30:44 +01:00
brianc
558cbbb66a
fix compiler warning
2011-10-12 10:52:20 -05:00
brianc
b59e0041b3
native bindings compatible with v0.5.x
2011-10-10 22:03:27 -05:00
Homme Zwaagstra
21b597ef17
All errors are now instances of the built in Error class
...
This is a fix for issue #50 . It alters both the native binding and the
javascript binding to ensure that any errors returned by Postgresql
are returned to the client code as instances of the built in Error
class.
The test code has been updated to assert that this is the case. Rather
than run some individual tests the updated test code ensures this is
the case for *all* errors encountered during a test run.
2011-09-22 12:36:12 +01:00
brianc
0ea77f475b
fix for gh-issue #26
2011-05-19 20:46:27 -05:00
Brian Carlson
e4ce36bda8
support for 'payload' of notification in postgres >=9.0
2011-04-14 22:53:44 -05:00
Brian Carlson
863a1ba85c
inline AbortConnection
2011-04-14 22:42:35 -05:00
Brian Carlson
af8ebe520c
AbortError should return void
2011-04-14 22:41:00 -05:00
Brian Carlson
2836c8b64d
native connection failures gracefully emit error from libpq
2011-04-14 22:38:55 -05:00
brianc
a2f7ca3939
code cleanup
2011-03-08 20:14:50 -06:00
brianc
cabca209c7
named queries working & all tests passing
2011-03-06 22:27:35 -06:00
brianc
1fd718bd74
work on named prepared statements
2011-03-06 21:32:58 -06:00
brianc
941b2e298d
work on named queries
2011-03-05 12:01:57 -06:00
brianc
0d7822d1cd
use symbols in row value object property names
2011-03-05 11:35:37 -06:00
brianc
3399352383
errors from libpq come back with appropriate data
2011-03-04 22:28:40 +00:00
brianc
c1b5fe2ab0
native 'notify' and 'notification' events
2011-03-04 20:04:59 +00:00
brianc
2b24703e17
notification bindings a bit more solid
2011-03-03 23:26:09 -06:00
brianc
16aa5ae981
working on bubbling up notifications
2011-03-03 22:55:06 -06:00
brianc
e8dec61677
ignore PGRES_EMPTY_QUERY message
2011-03-03 22:37:19 -06:00
brianc
cbd14d0f73
removed 'isbusy' log message
2011-03-03 20:50:35 -06:00
brianc
08eddd26e2
make type coercion a part of the api
2011-03-03 18:05:29 +00:00
bmc
b76ced7144
begin type coercion for libpq
2011-03-01 21:03:51 +00:00
bmc
8c7083207a
string based parameterized statements working
2011-03-01 01:49:02 +00:00
brianc
23717bf8be
some bound exec work
2011-02-25 00:33:20 -06:00
brianc
567446e090
error tests
2011-02-24 22:06:19 -06:00
brianc
b7c3db5f32
error test
2011-02-24 21:50:17 -06:00
brianc
f4ca716b93
throw exception when passing non-string to query
2011-02-24 21:44:03 -06:00
brianc
cc2ff042ef
failing test for parameterized queries
2011-02-24 21:33:54 -06:00
Brian Carlson
1ee427ac4f
handle PGRES_COMMAND_OK
2011-02-23 20:13:03 -06:00
Brian Carlson
c321151325
cleaned up file structure & improved evented query api compat
2011-02-23 20:02:51 -06:00
Brian Carlson
8fe4f85714
all simple query tests now passing
2011-02-23 19:15:16 -06:00
brianc
1f0206bc4f
passed first existing integration test!
2011-02-23 00:20:01 -06:00
brianc
c945b9dffe
remove some logging
2011-02-22 23:55:06 -06:00
brianc
ce56fb6453
beginning of js Client compatible api
2011-02-22 23:52:25 -06:00
Brian Carlson
85ed22a16c
small code cleanups
2011-02-22 19:32:26 -06:00
brianc
67e56fe832
connection termination
2011-02-20 19:20:13 -06:00
brianc
93c1135389
connection raising error from libpq error
2011-02-20 17:09:52 -06:00
brianc
2e2aa0083b
cleaned up source
2011-02-20 16:53:21 -06:00
Brian Carlson
59d813c8b5
connection to postgres via libpq bindings successful
2011-02-19 09:24:46 -06:00
Brian Carlson
0f0f59c12f
initial experiment with libpq bindings
2011-02-18 11:38:47 -06:00