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
brianc
f075ea306f
version bump
2011-10-12 00:36:06 -05:00
brianc
b59e0041b3
native bindings compatible with v0.5.x
2011-10-10 22:03:27 -05:00
brianc
675bb5204c
remove final assert.length
2011-10-10 20:37:08 -05:00
brianc
5cfd42dd1c
upgrade engine requirement
2011-10-10 19:41:32 -05:00
brianc
06585d6e2c
require 'util' instead of 'sys'
2011-10-10 19:40:52 -05:00
brianc
afe4382c63
change assert.length to assert.lengthIs
2011-10-10 19:21:06 -05:00
Brian Carlson
1ab5e8ae9e
update readme with note about v0.5.x compatibility
2011-10-10 09:30:10 -05:00
brianc
e9f0b1aed6
version bump
2011-10-03 23:45:42 -05:00
brianc
c7774ca0a8
native bindings emit Error objects on all 'error' events
2011-10-03 23:43:28 -05:00
brianc
b728186a7d
Merge branch 'master' of https://github.com/brianc/node-postgres
2011-10-03 23:14:09 -05:00
brianc
2835f25e3f
make booo's tests pass for the native client
2011-10-03 03:26:50 -05:00
booo
38f4b04140
error-handling-test: implemented some tests for the Client.prototype.connect with callback ( #52 )
2011-10-03 03:26:50 -05:00