Brian C
aa72d9b16a
Merge pull request #17 from brianc/more-travis-versions
...
Add more versions of node to the travis matrix
2015-11-13 10:43:50 -06:00
brianc
df8acf0aaa
Bump version
2015-11-13 10:40:12 -06:00
brianc
9aca077f3e
Add more versions of node to the travis matrix
2015-11-13 10:39:28 -06:00
Brian C
ca21462f1b
Merge pull request #15 from slickmb/bug/close_race
...
Avoid race when stream closed while fetching
2015-11-13 10:38:18 -06:00
Brian C
edfe1aa9a3
Merge pull request #16 from brianc/conform-to-readable-stream-spec
...
Conform to readable stream spec
2015-11-13 10:38:09 -06:00
brianc
27bba8de04
Conform to readable stream spec
...
One of the tests was failing because it was testing that when a stream became readable it never returned a `null` datum on call to `stream.read()`.
In fact, when a readable stream drains it should & does return `null` for calls to `stream.read()` as described [here](https://nodejs.org/api/stream.html#stream_event_readable )
I updated the test to account for this, and they pass now.
2015-11-13 10:33:39 -06:00
matthew.blasius
d1ac31c105
Support a close callback when closing the stream
2015-11-05 16:54:12 -05:00
matthew.blasius
68819dffda
Avoid race when stream closed while fetching
2015-11-05 14:09:50 -05:00
brianc
5f50ddffef
Bump version
v4.4.3
2015-10-15 14:22:43 -05:00
Brian C
6d18fe5e83
Merge pull request #875 from joostfarla/require
...
Require statements break Browserify compatibility
2015-10-15 14:22:04 -05:00
Blaine Bublitz
07a7143fc9
Merge pull request #6 from misaxi/master
...
Update README.md
2015-10-12 15:21:52 -07:00
Mike He
c612dfabd5
Update README.md
2015-10-13 09:19:26 +11:00
Joost Farla
f50f5ce7e8
Require statements break Browserify compatibility
2015-10-10 11:10:51 +02:00
Kevin Burke
fccaa1c598
defaults.js: fix typo in comment
2015-10-08 23:02:15 -07:00
Brian C
261a42a730
Merge pull request #872 from brianc/fix-travis
...
Add clang flags to travis environment
2015-10-07 11:32:01 -05:00
brianc
1020a7175f
Add clang flags to travis environment
...
Trying to fix the building on travis...
2015-10-07 11:11:53 -05:00
brianc
3f32f7d8a6
Remove code that does not work in node v4.x
2015-09-28 10:04:17 -05:00
Brian C
d5d221e711
Merge pull request #862 from jonathanong/patch-1
...
travis: fix node@4 compile errors
2015-09-28 10:03:33 -05:00
jongleberry
7a614ac311
travis: fix node@4 compile errors
2015-09-20 21:00:57 -07:00
brianc
35e5567f86
Bump version
v4.4.2
2015-09-20 08:41:05 -05:00
brianc
514008f4f3
Update version of node used in travis
2015-09-20 08:39:07 -05:00
Brian C
ff6eab7d36
Merge pull request #843 from oliversalzburg/fix/econnreset
...
Don't emit error events parsed out of data stream
2015-09-20 08:36:16 -05:00
Oliver Salzburg
e5a63ab58d
Don't emit error events parsed out of data stream
2015-08-24 17:24:52 +02:00
Brian C
715e5009dd
Merge pull request #761 from sehrope/travis-matrix
...
Add node/PG version matrix to Travis-CI config
2015-08-04 08:53:15 -05:00
Brian C
0102bad997
Merge pull request #825 from kevinburke/typo-fix
...
s/saftey/safety
2015-08-04 08:52:00 -05:00
Brian C
67c8c6961e
Merge pull request #827 from kevinburke/target-typo
...
Fix typo in Make target
2015-08-04 08:51:23 -05:00
Kevin Burke
9810b2275f
Fix typo in Make target
2015-08-02 11:43:50 -07:00
Kevin Burke
b4746e82e5
s/saftey/safety
2015-08-02 09:25:57 -07:00
Sehrope Sarkuni
8ce6811f40
Bump iojs version in Travis matrix to iojs-v2
2015-08-02 11:03:53 -04:00
Sehrope Sarkuni
e98ef2f784
Disable sudo in .travis.yml
...
This enables container based builds on Travis which should speed
up automated testing.
2015-08-02 11:03:53 -04:00
Sehrope Sarkuni
7a09283fe7
Remove node v0.11 from Travis matrix
2015-08-02 11:03:53 -04:00
Sehrope Sarkuni
180f5f7d84
Add node/PostgreSQL matrix to .travis.yml
...
Add a matrix configuration to .travis.yml to test permutations of node and PostgreSQL.
Node versions tested against are v0.10, v0.11, v0.12 and io.js v1.
PostgreSQL versions tested against are 9.1, 9.2, 9.3, and 9.4.
2015-08-02 11:03:53 -04:00
Sehrope Sarkuni
df1967906f
Remove unused PG 9.2 Travis-CI install script
2015-08-02 11:03:27 -04:00
brianc
78c243bdf3
Bump version
v4.4.1
2015-08-01 18:52:35 -05:00
brianc
6f8292435d
Respond to emptyQuery with a sync message
...
When a __prepared statement__ has no body in the query the backend responds with an `emptyQuery` message but never with a `commandComplete` or `errorResponse` message. The client was hanging forever waiting for one of the other two expected messages. The server was hanging forever waiting for the client to respond with a `sync` message. This change has the client send the required `sync` on receipt of an `emptyQuery` message when the query is a prepared statement. Fixes #822
2015-08-01 18:51:49 -05:00
Brian C
7d534c235a
Merge pull request #819 from XeCycle/master
...
Add reference to XeCycle/pg-template-tag to README
2015-07-29 23:15:57 -05:00
Carl Lei
d09fb74214
Add reference to XeCycle/pg-template-tag to README
2015-07-29 08:50:57 +08:00
Brian C
0a54dfa1c8
Merge pull request #803 from KevinSjoberg/README-correction
...
Correction in README
2015-06-22 13:58:11 -04:00
Brian C
488b573003
Merge pull request #806 from acarl/master
...
adding pg-restify to readme
2015-06-22 13:55:41 -04:00
Andrew Carlson
a1ff3a17fd
adding pg-restify to readme
2015-06-18 21:21:10 -04:00
Kevin Sjöberg
4ca38aa3b7
Correction in README
2015-06-14 17:01:11 +02:00
Brian C
ecba8dafd5
Merge pull request #796 from coderhaoxin/pg-then-link
...
Add link of pg-then to readme
2015-06-10 19:30:06 -04:00
brianc
8d4c8299f2
4.4.0
v4.4.0
2015-06-07 10:44:46 -04:00
brianc
0321b5ebd5
Update news
2015-06-07 10:44:42 -04:00
Brian C
711adfe938
Merge pull request #787 from brianc/warn-on-long-query-names
...
Add warning on long query names
2015-06-07 10:43:13 -04:00
brianc
17f14f4e58
Add warning for native bindings
2015-06-07 10:20:48 -04:00
haoxin
d85269e60f
Add link of pg-then to readme
2015-06-02 23:16:01 +08:00
Brian C
eb894900ed
Merge pull request #792 from pdehaan/patch-1
...
Add license attribute
2015-05-26 09:39:49 -04:00
Peter deHaan
c28cef76a2
Add license attribute
...
specifying the type and URL is deprecated:
https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
2015-05-23 15:09:47 -07:00
brianc
edef4fee53
Add warning on long query names
...
Postgres has a 63 character limit on query names. To avoid potential footgunning of users we'll log to their stderr if they use a longer query name.
For reference: https://github.com/brianc/node-postgres/pull/772
2015-05-21 13:17:04 -04:00