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 |
|
Christophe Macabiau
|
f3c8b972fe
|
query cancellation
|
2011-11-02 16:07:14 +01:00 |
|
brianc
|
06585d6e2c
|
require 'util' instead of 'sys'
|
2011-10-10 19:40:52 -05:00 |
|
booo
|
5f7e85162a
|
lib/client: added optional callback function to client.prototype.connect(); issue #52
|
2011-10-03 03:26:49 -05:00 |
|
brianc
|
ec1c70c4b5
|
ability to pause/resume drain event for long-running async transactions
|
2011-08-29 23:43:36 -05:00 |
|
brianc
|
cc77a67745
|
remove double init of variable
|
2011-06-02 07:24:42 -05:00 |
|
brianc
|
c1b5fe2ab0
|
native 'notify' and 'notification' events
|
2011-03-04 20:04:59 +00:00 |
|
brianc
|
bbe704b8db
|
merged master
|
2011-03-04 19:32:54 +00:00 |
|
brianc
|
1cd1721f7f
|
integration notification tests
|
2011-03-04 19:30:19 +00:00 |
|
brianc
|
749531f597
|
notification message
|
2011-03-03 23:20:47 -06:00 |
|
brianc
|
13a5803aac
|
Merge branch 'master' into libpq
|
2011-03-03 22:45:00 -06:00 |
|
brianc
|
ec158770f5
|
client emits notify message from connection
|
2011-03-03 22:44:31 -06:00 |
|
brianc
|
5459773b90
|
properly emit notice messages on client
|
2011-03-03 23:30:17 +00:00 |
|
brianc
|
0b97f699c5
|
merge master into topic
|
2011-03-03 18:31:20 +00:00 |
|
brianc
|
7f5f554503
|
js client emits 'connect' event
|
2011-03-03 18:07:22 +00:00 |
|
bmc
|
c0ef5296c6
|
support for connecting via domain socket
|
2011-03-01 20:35:14 +00:00 |
|
brianc
|
039c394cb1
|
make pulseQueryQueue explicitly private
|
2011-02-04 20:07:59 -06:00 |
|
brianc
|
4724444e3d
|
move parseConnectionString utility function into utils
|
2011-02-04 20:06:52 -06:00 |
|
brianc
|
5496f3199e
|
remove net.Stream references from client
|
2011-02-04 20:05:02 -06:00 |
|
brianc
|
0732ee215f
|
readability refactoring
|
2011-02-04 20:03:41 -06:00 |
|
brianc
|
84e452e221
|
style cleanup
|
2011-02-04 19:45:30 -06:00 |
|
brianc
|
a5fce8eb7b
|
query events for prepared statements are handled by client
|
2011-02-04 19:30:30 -06:00 |
|
brianc
|
99093b34c8
|
query events handled by client in simple query scenario
|
2011-02-04 19:15:57 -06:00 |
|
brianc
|
daa370a610
|
move some query listener delegation to client
|
2011-02-04 19:03:23 -06:00 |
|
brianc
|
cb647935bb
|
slight readability refactor
|
2011-02-04 18:51:23 -06:00 |
|
brianc
|
51d922f3e1
|
a connection string without all settings no longer causes client
constructor to throw error
|
2010-12-28 10:44:33 -06:00 |
|
Brian Carlson
|
5a87972983
|
remove active query reference when client drains
|
2010-12-10 16:56:10 -06:00 |
|
Brian Carlson
|
f0291d30d7
|
nested query and streamlined api working
|
2010-12-02 17:47:54 -06:00 |
|
Brian Carlson
|
8d7ff353af
|
fix to allow executing queries within the callback function of another query.
there was a timing issue with emiting the drain event
|
2010-11-21 23:30:10 -06:00 |
|
Brian Carlson
|
9c33571853
|
removed some unused variables in client
|
2010-11-20 14:23:48 -06:00 |
|
Brian Carlson
|
de5438e6f5
|
started working on specifying defaults
|
2010-11-20 14:09:18 -06:00 |
|
Brian Carlson
|
0bde640bab
|
overloaded "simple" query api to provide callback enabled prepared statement
|
2010-11-15 00:42:38 -06:00 |
|
Brian Carlson
|
91aac6d350
|
initial callback api integration underway
|
2010-11-15 00:10:21 -06:00 |
|
Brian Carlson
|
6585f85d03
|
query object now emits query related errors, client object no longer
emits query related errors
|
2010-11-14 16:50:38 -06:00 |
|
brianc
|
d77fd0ee65
|
ability to init connection with url instead of config object
|
2010-11-10 21:45:39 -06:00 |
|
brianc
|
d2e3dfb647
|
split query out from client file and did minor refactorings
|
2010-11-03 00:27:11 -05:00 |
|
brianc
|
7ce1ddeab5
|
small refactorings
|
2010-11-02 23:46:13 -05:00 |
|
brianc
|
1b9ccf97e9
|
reduced number of flush messages during prepared statement, 2x performance
|
2010-11-02 03:29:11 -05:00 |
|
brianc
|
381598d3c0
|
date type coercion works in both directions
|
2010-11-02 00:50:42 -05:00 |
|
brianc
|
2c362250b3
|
use regex for date part parse
|
2010-11-02 00:46:29 -05:00 |
|
brianc
|
6841178ca2
|
modified tests to correctly check for adjusted utc values
|
2010-11-02 00:23:39 -05:00 |
|
brianc
|
07010389ff
|
basic (ugly) date type coercion tests
|
2010-11-01 00:27:06 -05:00 |
|
brianc
|
074779b5ff
|
initial work on dates
|
2010-11-01 00:27:05 -05:00 |
|
brianc
|
0d2d6b5107
|
Moved buffer list to test directory and replaced w/ slightly cleaner
"writer" for use in the library code. BufferList was always supposed
to be a test helper and the api is trash
|
2010-10-31 18:21:37 -05:00 |
|
brianc
|
405fbbec12
|
nulls supported in all currently supported type coercions
|
2010-10-30 21:10:26 -05:00 |
|
bmc
|
577f48f824
|
added 'drain' event to client which fires after all pending queries
are done
|
2010-10-29 20:48:31 -04:00 |
|
brianc
|
da8026df9d
|
prepared statements moved forward a good deal
|
2010-10-28 19:09:40 -05:00 |
|
brianc
|
104727fd87
|
simple prepared statements working!
|
2010-10-28 00:50:45 -05:00 |
|
brianc
|
adc8bfa7bf
|
start chopping up client to support prepared statements
|
2010-10-27 16:58:58 -05:00 |
|