Brian C
796a44f54f
Remove internal pool ( #1049 )
...
* Initial work on removing internal pool
* Port backwards-compabible properties
* Cleanup test execution & makefile cruft
* Attempt to fix flakey error test
2016-06-21 09:53:09 -05:00
Jos Kuijpers
1596a933eb
Fix SSL configuration error and add tests. #848 ( #1055 )
2016-06-21 09:42:30 -05:00
brianc
d1c5fc694b
Bump version
2016-06-10 17:21:32 -05:00
brianc
ebb533c9b9
Update changelog
2016-06-10 17:21:17 -05:00
Brian C
2fd9c77085
Make Query & NativeQuery implement the promise interface ( #1047 )
...
* Make Query & NativeQuery implement the promise interface
* Fix test
* Use older node API for checking listener length
* Do not test for promises on node@v0.10.0
2016-06-10 17:18:19 -05:00
brianc
9b1d16dfd2
Remove io.js badge
2016-06-07 17:17:39 -05:00
brianc
8918c95f61
Bump version of semver
2016-06-07 17:17:09 -05:00
brianc
86bd9a138c
Bump version
2016-06-07 16:49:33 -05:00
brianc
f0e1622d4c
Update changelog for 5.0
2016-06-07 16:49:21 -05:00
Brian Dunavant
01e5d726da
Support for defaults.connectionString ( #910 )
2016-06-07 16:09:22 -05:00
twisha16
90600f2b47
Adding returnToHead in clientConfig param ( #1007 )
2016-06-07 16:05:55 -05:00
Muhammad Raihan Muhaimin
667953fd5c
Proper error message for undefined where options ( #1022 )
...
When user provides a knex select statement with an undefined options in where clause it is not properly handled an give an ambiguous error message telling `Unhandled rejection TypeError: Cannot read property 'toString' of undefined.` This PR will helpful to users at it will tell them the exact problem.
2016-06-07 16:04:52 -05:00
Alejandro Oviedo
edf4e7f76c
add dependencies badge on readme ( #1024 )
2016-06-07 16:04:07 -05:00
Henrik
c1e52e70ad
added .npmignore in order to not publish tests to npm ( #1025 )
2016-06-07 16:02:48 -05:00
Pavel Lang
ad2ffce986
pg.native returns null if pg-native is missing ( #950 )
...
`require('pg').native` will be `null` and report error once to `stdout` when `pg-native` is missing.
2016-06-07 16:02:07 -05:00
hoegaarden
06743a71e5
pgpass: Update to 0.0.6 ( #1040 )
2016-06-07 16:01:17 -05:00
Kevin Burke
13a82ad0ec
Update Copyright notice to 2016 ( #1036 )
2016-06-03 10:27:05 -05:00
brianc
6cc1b2c8e6
Bump version
2016-06-03 10:25:49 -05:00
Tristan Davies
d7307b1630
use latest generic-pool ( #1031 )
2016-06-03 10:25:13 -05:00
Tristan Davies
55abbaa844
don't mutate params when preparing statement ( #992 )
2016-04-28 14:46:33 -05:00
Brian C
5d3b506c70
Change test matrix in .travis.yml ( #1002 )
...
* Change test matrix in .travis.yml
Add tests for node @ v6. Remove node & postgres test permutations for older versions of node.
* Remove sub-versions
* Remove minor version from node 4
2016-04-27 14:30:00 -05:00
brianc
4047dd12c5
Bump version
2016-04-27 13:52:57 -05:00
Martynas Kunigėlis
6fddc566f0
Use Buffer concatenation for binary data instead of binary strings. Fixes Node.js v6.0.0 breakage. ( #1001 )
2016-04-27 13:52:28 -05:00
brianc
3433ed9673
Bump version
2016-04-26 17:41:45 -05:00
Martin Kuba
52aa25d8e8
added Client constructor back on pool to enable instrumentation ( #998 )
2016-04-26 17:41:11 -05:00
brianc
fe6f32a6e7
Bump version
2016-04-08 18:46:42 -05:00
Brian C
a8bd44a6ec
Requiring native bindings polutes 'global' ( #984 )
...
There was some nasty global-ish variable reference updating happening when the native module 'initializes' after its require with `require('pg').native`
This fixes the issue by making sure both `require('pg')` and `require('pg').native` each initialize their own context in isolation and no weird global-ish references are used & subsequently stomped on.
2016-04-08 18:46:10 -05:00
Brian C
beb8eef1f4
Merge pull request #971 from LinusU/patch-1
...
readme: fix pool size
2016-04-04 10:36:11 -05:00
brianc
c2650d8abd
Bump version
2016-03-30 12:29:25 -05:00
Brian C
ff4794d3c2
Merge pull request #951 from langpavel/readme-extras-wiki
...
Move Extras section from README.md to Github wiki
2016-03-30 12:28:36 -05:00
Brian C
eabbebaea8
Merge pull request #963 from dorianj/cancellation
...
Fix byte representation of CancelRequest message
2016-03-30 12:18:27 -05:00
Linus Unnebäck
fe6215d71c
readme: fix pool size
2016-03-23 15:28:25 +01:00
Dorian Johnson
eb7b15c623
Fix byte representation of CancelRequest message
...
I noticed that query cancellation was not working when connecting through pgbouncer,
even though it worked fine when directly connected. This is because we're appending an
extra null byte, and pgbouncer is strict about the packet length.
(per http://www.postgresql.org/docs/9.1/static/protocol-message-formats.html )
This removes the extraneous byte, which fixes cancellation against pgbouncer.
2016-03-09 16:13:54 -08:00
Pavel Lang
b584d15f3d
Move Extras section from README.md to Github wiki
2016-02-26 20:22:38 +01:00
brianc
93aa52d43b
Bump version
2016-02-25 12:28:15 -06:00
brianc
2a04d9267b
Bump version
2016-02-25 11:02:32 -06:00
brianc
dbe0588148
Update news
2016-02-25 11:02:23 -06:00
Brian C
1c6da45d64
Merge pull request #943 from RivalIQ/utc-date-input
...
add option to parse input javascript Dates as UTC
2016-02-25 11:01:13 -06:00
Brian C
f558ce499b
Merge pull request #942 from koistya/patch-1
...
Add pg-client to the list of extras in README.md
2016-02-25 10:52:12 -06:00
Seth Pollack
909c0f1872
add option to parse input Dates as UTC
2016-02-23 17:02:08 -08:00
Konstantin Tarkus
8cfe39becd
Add pg-client to the list of extras in README.md
2016-02-23 14:29:56 +03:00
brianc
dbf3a04bc2
Bump version
2016-02-15 11:52:33 -05:00
Brian C
93d1e88d81
Merge pull request #935 from jkgeyti/master
...
Support querying tables with column names with multiple apostrophes
2016-02-15 11:50:00 -05:00
Brian C
f26cb73356
Merge pull request #937 from coagmano/master
...
Bring native API in line with pure js version. Fixes #743
2016-02-15 11:48:44 -05:00
brianc
ef64f5d6db
Bump version
2016-02-15 11:46:46 -05:00
brianc
1ace25a1a6
Bump buffer-writer minor version for better large insert performance
2016-02-15 11:46:46 -05:00
Frederick Stark
b78a508420
Add function stub to native result to solve broken test
2016-02-12 13:38:38 +11:00
Frederick Stark
ac438e8952
Add integration test for Result.addRow
2016-02-12 13:37:49 +11:00
Jens Kristian Geyti
02c47f5071
Support querying tables with column names with multiple apostrophes (issue #934 ). Includes integration test.
2016-02-10 20:52:43 +00:00
Brian C
99a0dce688
Merge pull request #927 from jadbox/master
...
pg-rxjs mention added
2016-01-27 13:22:49 -06:00