shine-on
29029298fe
Drop table if exists
2013-08-31 11:20:33 +03:00
brianc
7521e2494b
version bump
2012-02-02 23:27:59 -06:00
brianc
21c6699d1b
add reapIntervalMillis to defaults and format the file
2012-02-02 23:27:52 -06:00
booo
89e1c6633a
fix issue #89
2012-02-02 23:14:34 -06:00
brianc
cc15fa1e54
upgrade generic-pool to 1.0.9
2012-02-02 23:12:34 -06:00
Brian Carlson
d8fdb7f47c
add yammer to production use readme section
2012-01-11 12:00:26 -06:00
brianc
0e5dee59d9
version bump
2012-01-02 01:08:35 -06:00
Brian Carlson
d70a9bd06d
Merge pull request #79 from chowey/patch-1
...
Use `(exit 0)` instead of `true` for windows install support.
2011-12-12 08:52:20 -08:00
Cameron Howey
6e0434062e
Use (exit 0)
instead of true
for windows install support.
...
Fixes issue #72 .
2011-12-11 15:08:42 -05:00
brianc
2933bdd2cb
version bump & contributors update
2011-11-30 23:02:30 -06:00
Ahti Heinla
cdbbf2e61e
Fixed a bug that caused parseStringArray() to return incorrect values for escaped strings
2011-11-30 02:55:22 +02:00
Ahti Heinla
b65b76f2bd
Added parseStringArray() unit test with escaped strings
2011-11-30 02:54:01 +02:00
Ahti Heinla
a3d5d992f6
Fixed a bug that caused parseStringArray() to not support empty arrays
2011-11-30 02:53:12 +02:00
brianc
b93ecbe15c
remove notice about now fixed v0.5.x c++ bindings
2011-11-28 00:02:23 -06:00
brianc
4b2d1d401b
version bump
2011-11-27 23:19:21 -06:00
brianc
94f0448b1b
update contributors
2011-11-27 23:18:37 -06:00
Alexander Sulfrian
b2a2d029ab
fixed test, column should be accessed with name
2011-11-22 05:02:15 +01:00
Alexander Sulfrian
6b032c466b
added test-binary target
...
integration tests could now be started in binary mode
some tests are executed in text mode anyway, they are currently not
compatible with binary mode or prepared statements at all
(f.e. multiple statements in one query)
2011-11-22 05:01:00 +01:00
Alexander Sulfrian
2b7c57710c
add binary cli argument for tests
2011-11-22 05:01:00 +01:00
Alexander Sulfrian
f698ed4459
use config dict in all test
...
instead of the connection string use the config dict in all tests to
be able to specify things like binary mode
2011-11-22 05:00:54 +01:00
Alexander Sulfrian
239d8bd0c2
fixed binaryParsers for small negativ values
...
WARNING: bigint support is not correctly working for really big
values. If the value of a integer gets big the number gets fuzzy in
javascript. This is not a limitation of this library.
If you want to handle bigint with the exact value, get it as string
and do not calculate things with it!
2011-11-22 04:53:38 +01:00
Alexander Sulfrian
f8962fd036
connection can be binary by default
...
if connection is created with config.binary = true, all queries get
executed with binary result unless explicit disabled with binary = false
2011-11-22 04:53:38 +01:00
Alexander Sulfrian
5d8c8bbcdc
fix recognition of query format for empty queries in dictionary format
...
queries like {text: ""} did not get recognized correctly before and
get converted to {text: {text: ""}}
2011-11-22 04:53:38 +01:00
Alexander Sulfrian
09ee46da22
fix binaryParsers: oid is 32bit
2011-11-22 04:53:38 +01:00
Alexander Sulfrian
f3c9a532e0
code beautification
2011-11-22 04:53:38 +01:00
Alexander Sulfrian
070155a577
fix native bindings
...
native bindings need to get the textParsers with the new syntax
2011-11-22 04:53:38 +01:00
Alexander Sulfrian
e9838cc5bb
fix textParsers
...
some textParsers requires the input value to be a string, so convert
it before calling the textParsers
the same problem exists in test/integration/connection/query-test
so that there also need to be a String call
2011-11-22 04:52:26 +01:00
Alexander Sulfrian
aff94b0068
removed merge artifact
2011-11-20 20:34:14 +01:00
Alexander Sulfrian
8730a31444
Merge remote branch 'upstream/master'
2011-11-19 00:35:21 +01:00
Alexander Sulfrian
59c5df6ef4
remove name duplication
2011-11-18 21:23:39 +01:00
Alexander Sulfrian
916895639b
Merge remote branch 'upstream/master'
...
Conflicts:
lib/query.js
lib/types.js
test/unit/client/query-tests.js
test/unit/client/typed-query-results-tests.js
2011-11-18 21:12:28 +01:00
brianc
91afa89d37
version bump
2011-11-11 00:18:37 -06:00
brianc
77d6502981
Merge branch 'master' of https://github.com/brianc/node-postgres
2011-11-11 00:16:44 -06:00
brianc
736bac354d
update contributors
2011-11-11 00:14:41 -06:00
Brian Carlson
f2f36f4f55
Merge pull request #71 from cstansbury/master
...
create-test-tables.js patch
2011-11-07 14:23:40 -08:00
Chad Stansbury
4a7d894c8d
Removed (apparently obsolete) require('util') statement from create-test-tables so that the script could run w/o error.
2011-11-07 16:05:26 -06:00
Christophe Macabiau
fe6d5aeb68
query cancellation (libpq native binding)
2011-11-02 19:30:44 +01:00
Christophe Macabiau
947b53a0cc
use the correct pg bindings
2011-11-02 19:16:13 +01:00
Christophe Macabiau
c98ebb55e2
query cancellation test
2011-11-02 16:35:09 +01:00
Christophe Macabiau
f3c8b972fe
query cancellation
2011-11-02 16:07:14 +01:00
brianc
6b97ed2abc
version bump
2011-11-01 23:03:23 -05:00
brianc
2cddf2a112
fix for changes to Buffer.prototype.write signature change between node version. closes gh#66
2011-11-01 23:02:59 -05:00
Brian Carlson
106490f0a8
version & contributor bump
2011-10-30 21:53:59 -05:00
Roman Shtylman
46f6d9037c
fix for writing null terminated buffers
...
node 0.5.10+ changed how null terminated buffers are written. The
null terminator is no longer written explicitly.
fixes #63
2011-10-30 16:24:19 -04:00
Brian Carlson
45f2168343
version bump & contributors update
2011-10-24 11:29:07 -05:00
Simon Tokumine
53423dfbaa
stringArrayParser can parse empty arrays & stringArrayParser tests
2011-10-24 14:08:05 +01:00
brianc
caa2dcef06
update contributors in readme
2011-10-19 22:58:09 -05:00
brianc
7e18df0979
upgrade generic-pool version
2011-10-19 22:56:47 -05:00
Brian Dunavant
94dc7fd4e8
treat undefined values as NULL. Include test to verify.
2011-10-14 11:31:12 -04:00
brianc
558cbbb66a
fix compiler warning
2011-10-12 10:52:20 -05:00