Brian M. Carlson
e242b94e6c
Update version of pg-cursor
2014-05-22 11:20:53 -04:00
Brian M. Carlson
b9fd38df15
Bump version
2014-05-22 11:17:03 -04:00
Brian C
8bfd3a5bde
Merge pull request #5 from grncdr/no-row-description
...
Work with queries that don't have row descriptions
2014-05-22 11:16:23 -04:00
Stephen Sugden
8283fd9b22
add support for queries that don't return a row description
2014-05-21 22:44:51 +02:00
Stephen Sugden
5084624e8d
fix test command in package.json
2014-05-21 22:42:54 +02:00
Stephen Sugden
9cc3e527da
add failing test for noData queries
2014-05-21 22:42:35 +02:00
Stephen Sugden
f7b6572399
fix typo
2014-05-21 21:54:27 +02:00
Luke Murray
a8f9b7dc93
avoid eval if the row is returned as an array
2014-05-21 00:44:53 +10:00
Nuno Sousa
7612bbc402
Add support for overriding generic pool defaults
2014-05-16 15:00:18 +01:00
Calvin Metcalf
fec090972b
clean ups
2014-05-14 10:41:10 -04:00
Calvin Metcalf
41b7d7d4de
fix up tests
2014-05-14 09:51:56 -04:00
Marek
47b0aafa6d
Make sure 'end' is emitted even if no connection has ever happened
2014-05-13 12:57:01 +01:00
Brian C
3898f5d8b2
Update NEWS.md
2014-05-12 09:57:09 -04:00
Brian M. Carlson
c238faba8e
Bump version
v3.1.0
2014-05-12 09:54:18 -04:00
Brian M. Carlson
a29affe17e
Update news
2014-05-12 09:54:04 -04:00
Brian M. Carlson
fb7c682b80
Update version of pg-types. closes #582
2014-05-12 09:45:24 -04:00
Brian C
728b7c9bbf
Merge pull request #586 from solomon23/tls-error
...
tls socket missing error listener
2014-05-08 09:49:37 -04:00
Solomon English
48b5537683
adding an error handler for the tls socket connection
2014-05-07 02:18:03 -07:00
Brian C
220c5fd442
Merge pull request #583 from zackster/patch-1
...
Update README.md
2014-05-04 13:40:47 -05:00
zackster
e70b72f521
Update README.md
...
Fix error in documentation (numbor -> number) which may be confusing to beginners
2014-05-04 00:16:35 -04:00
Brian C
740d0a6c04
Merge pull request #577 from letsface/bump-aws-tests-timeout
...
bump up timeout for tests against AWS from 5s to 15s
2014-05-02 08:08:08 -05:00
Brian C
238e75b7d0
Merge pull request #556 from letsface/count-reuse
...
add count for reuse of each connection and track connection 'freshness'
2014-05-02 08:06:34 -05:00
Ricky Ng-Adam
8fb28c5cfe
test timeout value modifiable globally with TEST_TIMEOUT env variable
2014-05-02 12:32:15 +08:00
Brian C
62ba4c91fb
Merge pull request #580 from jonmorehouse/master
...
Minor documentation change for readme.
2014-05-01 10:57:44 -05:00
Jon Morehouse
db52fcb7bc
Minor documentation change for readme. Make connection string example a bit more intuitive
2014-04-30 13:13:23 -07:00
Ricky Ng-Adam
1345516117
bump up timeout for tests against AWS from 5s to 15s
2014-04-25 13:49:18 +08:00
Ricky Ng-Adam
4de8f04c34
count reuse of each connection as client.poolCount
2014-04-25 13:10:16 +08:00
Brian C
4c8f489956
Merge pull request #572 from letsface/test-prepared-statement-error
...
test to reproduce behavior of issue brianc/node-postgres#549
2014-04-24 12:41:36 -05:00
Ricky Ng-Adam
fbedaf4587
capture error message from intermittent failure of copy-tests.js
2014-04-24 08:55:00 +08:00
Ricky Ng-Adam
6216f6089f
test to reproduce behavior of issue brianc/node-postgres#549
...
a fix was provided in 5079c1e0c41f431ac2e02c40ebd875d8fbb34004;
test is modeled on query-error-handling-tests.js;
test both kill query and disconnection on prepared statement execution;
make connection error string message consistent between native and non-native;
disable test server-side kill for native as it hangs;
sync can cause error to be emitted so we catch that;
we also move _ending state before _send is called.
2014-04-24 08:36:54 +08:00
Brian C
1047aeb3c2
Merge pull request #571 from letsface/ended-event-on-pool-drained
...
emit event 'ended' on pool drained
2014-04-22 16:27:57 -05:00
Brian C
65d177e069
Merge pull request #573 from karvaporo/master
...
Remove unused parameter 'name' from DataRowMessage.
2014-04-22 16:15:59 -05:00
Matti Virolainen
17dbb640a6
Remove unused parameter 'name' from DataRowMessage.
2014-04-19 11:54:12 +03:00
Ricky Ng-Adam
0882c8da02
from ended to end
2014-04-18 23:30:45 +08:00
Brian C
c1d3a14a82
Merge pull request #570 from brianc/pause_resume_drain
...
remove pause/resumeDrain functions from native code as discussed in issue #515
2014-04-18 09:41:55 -05:00
Ricky Ng-Adam
9ab6ed76d1
remove extra whitespace
2014-04-17 17:04:46 +08:00
Ricky Ng-Adam
85c28e9088
destroyAllNow also has a callback
2014-04-17 16:25:59 +08:00
Ricky Ng-Adam
382d6d66f9
emit event when all pool are actually destroyed
2014-04-17 16:18:49 +08:00
Philipp Borgers
fa3b1ccc5b
remove pause/resumeDrain functions from native code as disccued in issue #515
2014-04-16 19:10:49 +02:00
Philipp Borgers
732fb7cc61
do not abuse label as comment in test-case
2014-04-16 19:02:54 +02:00
Philipp Borgers
5575bac1e6
remove unused setup-bench-data.js as discussed in issue #548
2014-04-16 14:34:31 +02:00
Brian M. Carlson
81f63f4924
Bump version
v3.0.3
2014-04-12 14:19:35 -05:00
Brian C
002db23853
Merge pull request #566 from hoegaarden/master
...
Upgrade pgpass
2014-04-12 14:19:08 -05:00
Brian M. Carlson
a6747ecd7b
Bump version
v3.0.2
2014-04-12 00:34:21 -05:00
Brian C
88ff4701d8
Merge pull request #567 from brianc/fix-memory-leak
...
Fix memory leak with domains
2014-04-12 00:32:52 -05:00
Brian M. Carlson
9c87253aff
Fix memory leak with domains
2014-04-12 00:29:44 -05:00
Brian M. Carlson
7593a44f79
Bump version
2014-04-11 11:01:43 -05:00
Brian C
d82386e1ac
Merge pull request #4 from tbuchok/master
...
maxListeners on timestamp queries
2014-04-11 11:00:30 -05:00
Tom Buchok
cab956ba50
passes stream-tester-timestamp
...
- moves 'end' event listener to constructor, only listen once
- ensures all existing tests still green
2014-04-09 23:58:18 -04:00
Tom Buchok
87b52f9e51
adds failing test
...
- appears that timestamp queries emit a lot of `rows` with length == 0
- `self.once('end')` is added each of these times
- assertion on listener count shows that more than 10 listeners are applied
2014-04-09 23:56:21 -04:00