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
Stephen Sugden
0205860dfd
Fix typos in simple-query-tests.js
2012-08-19 12:20:48 -07:00
Brian C
66b569c3fc
Merge pull request #172 from linearray/fixbytea
...
#161 : Fixed bytea decode and added 'hex' for pg >= 9.0.
2012-08-18 15:20:39 -07:00
Max Amanshauser
430f1079fc
Tidy up
2012-08-18 13:48:06 +02:00
Max Amanshauser
669826a866
Slightly more efficient hex bytea decode
2012-08-18 13:26:13 +02:00
Max Amanshauser
9b078eddcc
Fixed bytea decode and added 'hex' for pg >= 9.0.
2012-08-10 14:59:56 +02:00
brianc
400d410ad5
remove failing, postgreSQL version specific test
...
notify test fails on the version of postgres running on travis. I need to investigate this. Since it's an extremely non-important test & coupled to a particular version of postgres I'm going to remove until I can figure out a better way to reproduce.
2012-08-07 08:44:41 -05:00
Ben Montgomery
52b1361f67
remove unnecessary whitespace
2012-08-07 08:38:57 -05:00
Ben Montgomery
a9635a3d8d
Improve error message accuracy of native SendQuery
...
* add private method const char *GetLastError() to src/binding.cc
* add var const char *lastErrorMessage to SendQuery in src/binding.cc
* throw result of PQErrorMessage inside SendQuery
This commit replaces the static/vague error message "PQsendQuery
returned error code" with the actual message text of the error.
The method GetLastError() returns the text of PQErrorMessage.
GetLastError is called from within SendQuery to retrieve the message.
2012-08-07 08:38:57 -05:00
brianc
f5b49f1f42
increase test timeout for travis
2012-08-07 08:36:30 -05:00
brianc
e6c46aed17
version bump
2012-08-07 08:33:42 -05:00
booo
bab01eac40
Add missing integeration test for date type parser.
...
We don't parse date types in the javascript binary parser. Keep this in mind if
you plan to use the binary javascript parser.
2012-08-01 18:48:47 +02:00
booo
85829a98d3
Add initial fix for #156 .
...
TODO: Fix the javascript binary parser too.
2012-08-01 18:48:47 +02:00
booo
dea80ac588
Add unit test for #156 .
...
TODO: add integration test
2012-08-01 18:48:47 +02:00
brianc
550617f6ad
allow using pg environment variables as test connection parameters
2012-07-30 21:57:28 -05:00
Ben Montgomery
c736ba14b3
remove unnecessary whitespace
2012-07-26 15:40:53 -04:00
Brian Carlson
5ca05e9cfe
Merge pull request #151 from cosbynator/master
...
Expose a pass-through a logger for generic-pool and bump dependency version
2012-07-24 20:28:19 -07:00
Ben Montgomery
1551f1d183
Improve error message accuracy of native SendQuery
...
* add private method const char *GetLastError() to src/binding.cc
* add var const char *lastErrorMessage to SendQuery in src/binding.cc
* throw result of PQErrorMessage inside SendQuery
This commit replaces the static/vague error message "PQsendQuery
returned error code" with the actual message text of the error.
The method GetLastError() returns the text of PQErrorMessage.
GetLastError is called from within SendQuery to retrieve the message.
2012-07-24 12:53:00 -04:00
Thomas Dimson
ae88278845
Add pass-through of log function to generic-pool. Bump generic-pool version.
2012-07-15 20:08:26 -07:00
brianc
0fcf7093d3
add travis badge to readme
2012-07-11 23:13:15 -05:00
brianc
23bfcc52f4
dont create postgres database
2012-07-11 23:06:45 -05:00
brianc
822e48d41e
no dash in database name
2012-07-11 23:05:39 -05:00
brianc
57a2176d48
initial crack at travis-ci
2012-07-11 23:01:54 -05:00
brianc
585f480a2c
update npm version
2012-07-11 22:50:57 -05:00
brianc
fa80b4e3fa
make data conversion the same between native & javascript
2012-07-11 22:47:02 -05:00
brianc
e4a5f2edad
remove '0' character from test output
2012-07-11 22:46:19 -05:00
brianc
046c4f07c2
ignore connection string test until better parsing is incorporated
2012-07-11 22:44:21 -05:00
Brian Carlson
0d78763066
Merge pull request #149 from booo/c++
...
additional changes for the native binding
2012-07-11 20:38:51 -07:00
booo
ccc3f81dfa
enable some useful test cases again
2012-07-06 15:59:38 +02:00
booo
17e8287bdd
call nativeConnect after defining the error handler/callback
2012-07-06 15:55:10 +02:00
booo
5329e5e17e
check if the uv_poll_t struct is initialized before calling uv_poll_stop
...
Before this fix a call to End after an error in Connect() would result in
a segfault.
https://github.com/brianc/node-postgres/issues/136#issuecomment-6774321
2012-07-06 15:16:04 +02:00
booo
3680b5931b
remove unnecessary LOG call; we emit a proper error later in the code
2012-07-06 14:25:07 +02:00
booo
60130a933d
check for CONNECTION_BAD status before calling PQsetnonblocking
2012-07-06 14:22:59 +02:00
booo
125075b796
call uv_poll_start on Flush()
2012-07-06 14:15:51 +02:00
booo
d7b9f64b02
remove unnecessary comments
2012-07-06 14:08:03 +02:00
brianc
4d482e451b
use client#connect callback in pg.connect connection error handling
2012-07-05 22:38:07 -05:00
brianc
66328cc6cb
update engines to only support >=v0.8.x/libuv on the master branch
2012-07-05 22:38:07 -05:00
brianc
757316f33e
minor version bump to indicate shift to libuv backend for native bindings
2012-07-05 22:38:07 -05:00
booo
70de032e61
initial fix for issue #136
...
Test case from ticket works but some tests fail.
Signed-off-by: brianc <brian.m.carlson@gmail.com>
2012-07-05 22:38:07 -05:00
Brian Carlson
fe10d8544a
Merge pull request #144 from rpflorence/master
...
Syntax highlighting for the README
2012-07-04 18:35:44 -07:00
Ryan Florence
4d30540bd8
Github syntax highlighting for the README
2012-07-03 19:05:24 -06:00
Brian Carlson
accb94b211
Merge pull request #135 from machunter/master
...
failing test for issue 6247131
2012-06-28 17:25:27 -07:00
brianc
4979d31e9f
version bump
2012-06-28 19:21:06 -05:00
brianc
84569ab8d5
Merge remote-tracking branch 'sannis/patch-1'
2012-06-28 19:19:17 -05:00
brianc
31566cf056
fix failing array test - closes #125
2012-06-28 19:13:52 -05:00
Oleg Efimov
569f757f3f
Use pg_config in bindings.gyp
2012-06-28 22:29:15 +04:00