Commit Graph

717 Commits

Author SHA1 Message Date
Brian Bickerton
fc3b34d42f Use 'self.activeQuery' insead of 'this.activeQuery' in the readyForQueue event listener. 2012-05-08 10:07:43 -04:00
brianc
a19e72e1bd version bump 2012-03-27 09:30:51 -04:00
brianc
f8d9d25e7d update contributors 2012-03-27 09:30:31 -04:00
brianc
1c6afce19f Merge remote branch 'kennym/patch-4' 2012-03-27 09:29:26 -04:00
brianc
be5308a148 always pass radix to parseInt. closes #113 2012-03-27 09:24:45 -04:00
brianc
0e4dca46eb update contributors 2012-03-27 09:24:19 -04:00
brianc
4160da4de3 Merge remote branch 'chowey/patch2' 2012-03-27 09:18:38 -04:00
Cameron Howey
f978cc6379 Add result to row event
This makes the `result` object available from the row event.
2012-03-26 09:05:34 -04:00
Kenny Meyer
a25ef7cae4 Fix indentation 2012-03-22 17:32:56 -03:00
brianc
734a2cbdc6 version bump 2012-03-21 22:45:19 -05:00
brianc
96f7179094 expose type converter overrides & warn on giant numeric values 2012-03-21 22:36:18 -05:00
brianc
90d4d2d070 version bump 2012-03-20 22:55:08 -05:00
Phil Sorber
0b34675449 Flush writes to server after every send. 2012-03-12 21:34:35 -04:00
brianc
6bea0390f8 version bump 2012-03-06 19:10:00 -06:00
brianc
25ac351997 Merge remote-tracking branch 'jeremyevans/patch-1' 2012-03-06 19:09:14 -06:00
brianc
5adb96f827 add failing test for #103 2012-03-06 19:08:11 -06:00
Jeremy Evans
bbcbdee584 Handle "NULL" correctly in arrays
NULL in arrays is NULL, but "NULL" in arrays is 'NULL' (a string).
2012-03-05 15:52:00 -08:00
brianc
5e1df9a4e5 version bump 2012-03-01 23:07:53 -05:00
wink
e0313aeffd if PQconsumeInput returns 0, something broke, throw an error! 2012-03-01 15:13:47 -06:00
brianc
b689136e75 version bump 2012-02-27 22:12:16 -06:00
brianc
480fe2691d Merge remote-tracking branch 'chowey/patch-2' 2012-02-27 22:06:01 -06:00
brianc
1a366d2400 version bump 2012-02-27 21:59:06 -06:00
Jan Zimmek
cdc8c09c37 fix test - single empty string entry 2012-02-24 09:05:08 +01:00
Jan Zimmek
369357a71f enhance array parser 2012-02-23 23:16:46 +01:00
Jan Zimmek
f2f380787e enhance array parser 2012-02-23 23:13:59 +01:00
Cameron Howey
440f8bd3e9 Add all numeric array data types
We can use `parseIntegerArray` to correctly parse *any* numeric array.
We just have to register the correct oids.
2012-02-13 16:09:09 -05: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