Commit Graph

79 Commits

Author SHA1 Message Date
Hannes Hörl
c126ba1c7c Added NODE_PG_FORCE_NATIVE to force usage of libpg bindings (native client) 2013-06-26 22:32:07 +02:00
brianc
37bb13fc0c move type conversion related code under sub-folder 2013-03-06 08:57:38 -06:00
bmc
cc84799c7a integrate new pool into existing codebase 2013-02-20 16:08:48 -06:00
Philipp Borgers
6bc512a71f fix jshint error in lib/index.js 2013-01-24 22:05:35 +01:00
Philipp Borgers
3b1a5beba8 remove trailing whitespaces in lib/index.js 2013-01-24 22:03:02 +01:00
Philipp Borgers
ffe2c15a65 fix jshint errors for lib/index.js 2013-01-24 22:03:02 +01:00
Stephen Sugden
903e9b25ea Attach Query constructors to Client constructors 2012-12-16 00:58:30 -06:00
Troy Kruthoff
e62eb9339b make Query a public api 2012-12-10 21:32:20 -06:00
Michael Jackson
ffe4cdcf27 Export types module 2012-10-15 17:45:06 -05:00
Thomas Dimson
ae88278845 Add pass-through of log function to generic-pool. Bump generic-pool version. 2012-07-15 20:08:26 -07:00
brianc
4d482e451b use client#connect callback in pg.connect connection error handling 2012-07-05 22:38:07 -05:00
booo
89e1c6633a fix issue #89 2012-02-02 23:14:34 -06: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
brianc
f888f3b947 cleanup code 2011-08-29 22:48:17 -05:00
brianc
2ddc553ee4 pg object emit error event on idle pooled client errors 2011-08-29 02:35:46 -05:00
brianc
e6fe115962 use native in native pg.connect 2011-08-15 20:15:43 -05:00
brianc
c16c7f619d configurable idle timeout on pooled clients 2011-08-11 21:52:29 -05:00
brianc
4cb97a2b9e switch to node-pool from custom client pool 2011-08-11 20:59:56 -05:00
brianc
a580c8ab8d code cleanup 2011-05-02 00:32:30 -05:00
brianc
0d19522339 code cleanup 2011-05-01 21:35:00 -05:00
brianc
e98ef9a011 fix require to be path friendly 2011-03-15 23:08:37 -05:00
brian
c72dea82d9 no longer explode if native module didn't build correctly 2011-03-15 23:00:58 -05:00
brianc
f815c990c3 updated readme & package for new version 2011-03-11 12:29:27 -06:00
brianc
0b97f699c5 merge master into topic 2011-03-03 18:31:20 +00:00
brianc
7e2f713af3 running all client integration tests against native client - many failures 2011-03-03 18:21:43 +00:00
brianc
b6c3f7d478 remove unused 'net' reference 2011-03-03 18:10:17 +00:00
brianc
bfaefce930 remove unused 'sys' reference 2011-03-03 18:09:47 +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
Brian Carlson
e6e643ac6d commented out logging statements 2010-12-14 21:21:28 -06:00
Brian Carlson
6ef45e84fe removed test exception 2010-12-13 23:28:30 -06:00
Brian Carlson
b3e56afea2 initial working connection pool implementation & tests 2010-12-13 17:21:40 -06:00
Brian Carlson
0d7936f7ae removing connection pooling until it is finished and tested 2010-12-13 10:35:54 -06:00
Brian Carlson
ab13d0c1eb initial crack at connection pooling -- still dirty 2010-12-10 17:32:34 -06:00
Brian Carlson
de5438e6f5 started working on specifying defaults 2010-11-20 14:09:18 -06:00
Brian Carlson
91aac6d350 initial callback api integration underway 2010-11-15 00:10:21 -06:00
Brian Carlson
f8096cbe55 initial work on streamlined client interface 2010-11-14 23:04:41 -06:00
brianc
cf211fb1a7 include connection in index 2010-10-24 14:36:35 -05:00
brianc
5c6f95b427 moved items to their own file 2010-10-10 22:37:30 -05:00
brianc
f7529a235a remove 'constant' lookup object 2010-10-10 22:32:04 -05:00
brianc
390593ba1e removed redundant parser tests 2010-10-10 22:29:16 -05:00
brianc
23d3271aab removed rouge keypress 2010-10-10 19:10:39 -05:00
brianc
5a8061bf5f unrolled loop 2010-10-10 19:09:24 -05:00
brianc
32d6fd4115 removed switch statement 2010-10-10 19:03:44 -05:00
brianc
e69b6faa82 added null terminator (c-string) to query 2010-10-10 18:20:24 -05:00
brianc
f9b5c7b03e parsing error 2010-10-10 18:15:16 -05:00
brianc
b4d1c67eb5 parsing the most simplistic error message 2010-10-10 17:48:27 -05:00
brianc
94811981d6 added test for bad stream reference 2010-10-10 17:30:33 -05:00
brianc
98856f0e9c simple query scenario tested 2010-10-09 02:48:41 -05:00