62 Commits

Author SHA1 Message Date
Savannah Mastrangelo
7eabfbe0ba
Add repo to package.json
Without this pages like https://www.npmjs.com/package/pg-cursor don't link back correctly.
2018-06-20 12:29:41 -04:00
Brian C
c0f5518341 Update README.md
Add link to updated documentation
2017-08-08 11:24:06 -05:00
Brian M. Carlson
796d141386 Bump version 2017-08-06 11:28:37 -05:00
Brian C
b97a442f07 Merge pull request #30 from brianc/suport-query-config
Add support for rowMode & custom types
2017-08-06 11:28:22 -05:00
Brian M. Carlson
e0b2e41e57 Fix lint 2017-08-05 18:25:09 -05:00
Brian M. Carlson
4ff97f54bf Add support for rowMode & custom types 2017-08-05 18:22:54 -05:00
Brian M. Carlson
5b4bb7b615 Bump version 2017-08-05 17:29:58 -05:00
Brian C
71f30faeda Merge pull request #29 from brianc/no-sync-callbacks
Cleanup
2017-08-05 17:28:48 -05:00
Brian M. Carlson
bbefeb8670 Remove unused file 2017-08-05 17:25:13 -05:00
Brian M. Carlson
2ced8f1f2b Integrate eslint 2017-08-05 17:24:49 -05:00
Brian M. Carlson
3675d2b041 Fix to support node@4 LTS 2017-08-05 17:17:24 -05:00
Brian Carlson
a720dc774b Some cleanup 2017-08-05 16:59:20 -05:00
Brian M. Carlson
5a0af8cdd1 Bump version 2017-08-05 15:56:56 -05:00
Brian C
25d978e593 Merge pull request #28 from brianc/rickbergfalk-master
Do not send close after readyForQuery
2017-08-05 15:55:54 -05:00
Brian M. Carlson
620ddc0ded Do not send close after readyForQuery
Close is used to release a named portal (which isn't used by pg-cursor) or when you're early-terminating a cursor on the unnamed portal. Sending 'close' on an connection which has already sent 'readyForQuery' results in the connection responding with a _second_ 'readyForQuery' which causes a lot of issues within node-postgres as 'readyForQuery' is the signal to indicate the client has gone back into the idle state.
2017-08-04 17:40:52 -05:00
Rick Bergfalk
6072bcea8e Merge remote-tracking branch 'brianc/master' 2017-08-04 16:58:34 -04:00
Rick Bergfalk
9c7d2c853e Test cursor with pg-pool 2017-08-04 16:58:32 -04:00
Brian M. Carlson
6e462ffae6 Bump version 2017-05-15 23:16:55 -05:00
Brian C
bbc2b416ed Merge pull request #25 from sberan/cursor-result
Emit Query Events
2017-05-15 23:15:59 -05:00
Sam Beran
4427e31661 fix travis build env 2017-05-09 10:13:57 -05:00
Sam Beran
2f480217cb fix: only dispatch error events if we have a listener 2017-05-09 10:13:57 -05:00
Sam Beran
acae15de53 Emit Query Events
This change adds events to the `Cursor` object
as per the [Query API](https://github.com/brianc/node-postgres/wiki/Query).
2017-05-09 10:13:57 -05:00
Brian Carlson
42af014483 Update travis.yml 2017-05-08 16:49:24 -05:00
Brian Carlson
4bf66e65de Bump version 2017-04-27 14:37:58 -05:00
Brian C
3cad54e061 Merge pull request #23 from sberan/cursor-result
Return result accumulator in callback
2017-04-27 14:37:49 -05:00
Sam Beran
557e5f879d Return result accumulator in callback
fixes issue: https://github.com/brianc/node-pg-cursor/issues/22
2017-04-27 14:26:11 -05:00
Brian Carlson
a3204168b7 Bump version 2017-04-27 11:42:19 -05:00
Brian C
24d85f5e17 Merge pull request #19 from crisvergara/master
Fix require for webpack compatibility
2017-04-27 11:41:53 -05:00
Cris Vergara
af84d5cd4b Fix require for webpack compatibility 2016-12-05 17:18:25 -05:00
brianc
4f6208521b Bump version 2016-06-28 17:44:02 -07:00
Brian C
02dc31f925 Merge pull request #17 from rickbergfalk/master
handle empty query
2016-06-28 17:42:44 -07:00
Rick Bergfalk
74b6891b20 handle empty query 2016-06-28 16:47:50 -05:00
Brian C
a01a555ad6 Merge pull request #12 from dmnd/patch-1
Fix typo: itterate -> iterate
2015-03-19 08:57:07 -04:00
Desmond Brand
56ebc6a656 Fix typo: itterate -> iterate 2015-03-18 00:40:22 -07:00
Brian M. Carlson
8d395ff8c0 Bump version 2014-09-24 23:43:25 -04:00
Brian M. Carlson
40f361fd8e Add boilerplate files 2014-09-24 23:43:15 -04:00
Brian M. Carlson
19a2d26fc1 Add client#close
Closes #6
2014-09-24 23:42:51 -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
Brian M. Carlson
37de20e826 Bump version 2014-03-21 11:44:59 -05:00
Brian M. Carlson
1a9fd7ff76 Do not callback with final empty array until readyForQuery is received
Closes https://github.com/brianc/node-pg-query-stream/issues/3
2014-03-21 11:44:46 -05:00
Brian M. Carlson
b1b39bbd4f Bump version 2014-02-26 09:30:09 -06:00
Brian M. Carlson
f1dbe7884c Normalize parameter values 2014-02-26 09:30:00 -06:00
Brian M. Carlson
cc9f08a042 Bump version 2014-02-26 06:48:35 -06:00
Brian M. Carlson
4925172530 Fix require problem for pg module
Closes #3
2014-02-26 06:48:05 -06:00
Brian M. Carlson
a3074e9d54 Bump mocha version 2014-02-26 06:43:22 -06:00