Commit Graph

1732 Commits

Author SHA1 Message Date
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 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 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
Brian C
540c3f16db Merge pull request #770 from pdiniz13/master
Updated License
2015-04-26 13:47:12 -04:00
Brian C
905f535e68 Merge pull request #766 from vitaly-t/patch-1
Added IO.js Supported badge.
2015-04-26 13:41:10 -04:00
Paulo Diniz
1e4a39ba7d Updated License 2015-04-25 08:59:39 -07:00
Brian C
46a63533ae Merge pull request #765 from vitaly-t/patch-2
Updated Test Environments
2015-04-20 10:01:22 -04:00
Vitaly Tomilov
8d142513cc Updated Test Environments
* Replaced NodeJS 0.11 with 0.12, because people only care about 0.10 and 0.12 today;
* Added test support for the most recent stable version of IO.js
2015-04-15 23:01:33 +01:00
Vitaly Tomilov
f1638d95b1 Added IO.js Supported badge. 2015-04-15 22:58:15 +01:00
Brian C
c4ae79db39 Update README.md
Calling `client.end()` on a client in the pool is folly and should not be done. I mistakenly accepted a pull request with bad documentation.
2015-04-09 09:43:55 -04:00
Brian C
b3f0687fc7 Merge pull request #747 from vitaly-t/master
Correcting the library description
2015-03-11 21:42:21 -04:00
Vitaly Tomilov
5d9109e26c Correcting the library description
The library moved away from featuring the Promise library, it now supports the entire Promises/A+ family.

Happy Days! :)
2015-03-11 22:48:39 +00:00
Brian C
7eb46f218b Merge pull request #745 from vitaly-t/master
Update README.md
2015-03-10 11:58:05 -04:00
Vitaly Tomilov
50bb3ab3cc Update README.md
Moved the reference to vitaly-t/pg-promise to the bottom of the list.
2015-03-10 15:55:58 +00:00
Vitaly Tomilov
187063fae1 Update README.md
Added reference to vitaly-t/pg-promise in chapter Extras.
2015-03-10 15:02:07 +00:00
brianc
7568f84553 Patch failing test until I have time to investigate 2015-03-01 19:22:18 -05:00
brianc
65e12e8f9e Bump version 2015-02-22 16:55:38 -04:00
brianc
8c5ddf5dc8 Update news 2015-02-22 16:55:30 -04:00
Brian C
8da24ccd82 Merge pull request #735 from brianc/relax-pg-types-version
Relax semver requirement of pg-types
2015-02-22 16:54:01 -04:00
brianc
393d83d8f7 Relax semver requirement of pg-types 2015-02-22 16:35:48 -04:00
Brian C
f8d5db9edf Merge pull request #734 from MayhemYDG/patch
Fix result.rowCount being a string instead of a number via native bindings.
2015-02-22 16:33:29 -04:00
Brian C
7613d9cd50 Merge pull request #719 from marekventur/master
Add test for using intervals as parameter in prepared statements
2015-02-22 16:32:54 -04:00
Mayhem
e5d2f96099 Use strictEqual instead 2015-02-22 21:30:22 +01:00
Mayhem
37956e22c5 Fix result.rowCount being a string instead of a number via native bindings.
Fixes #708
2015-02-21 17:32:39 +01:00
Brian C
8c10612668 Merge pull request #729 from wallymathieu/patch-1
In order for the command line execution to finish
2015-02-21 09:00:25 -04:00
Oskar Gewalli
6180bebd9d In order for the command line execution to finish 2015-02-15 11:03:24 +01:00
Marek
4e37b1f053 Add test to make sure interval objects returned can be passed back into a prepared statement 2015-01-27 17:27:09 +00:00
Brian M. Carlson
44eaaf68a4 Bump version 2015-01-13 18:14:15 -05:00
Brian M. Carlson
007bf6bf02 Update news 2015-01-13 18:14:08 -05:00
Brian M. Carlson
e2aa07c06c Remove error code test on native 2015-01-13 18:13:20 -05:00
Brian C
ba84f30b31 Merge pull request #712 from rpedela/master
#701 Expose error fields added in PG 9.3.
2015-01-13 16:20:33 -05:00
rpedela
619783b916 #701 Add tests for new error fields in 9.3+. 2015-01-12 12:23:17 -07:00