2
0

Commit Graph

  • 3365402235 Start sequence at 1 Jack Christensen 2013-08-09 17:00:05 -05:00
  • 97d933f055 Added pgx/migrate Jack Christensen 2013-08-09 16:40:04 -05:00
  • f079d84728 Added SanitizeSql bool support Jack Christensen 2013-08-06 10:20:32 -05:00
  • 2699bf6187 Added example url shortener Jack Christensen 2013-08-05 13:08:45 -05:00
  • 0e30c0ae61 Fix: Prepare statement without result set Jack Christensen 2013-08-05 11:30:20 -05:00
  • a74871c8ab Add license Jack Christensen 2013-07-30 19:05:09 -05:00
  • 91e841bddd More readme tweaks and proofreading Jack Christensen 2013-07-30 18:06:26 -05:00
  • ff9cab7471 Tweak example in readme Jack Christensen 2013-07-30 18:00:17 -05:00
  • c6bf85bd63 Add more docs and explanation Jack Christensen 2013-07-30 17:53:59 -05:00
  • 3ca58c01fe Add example for SelectRows Jack Christensen 2013-07-30 17:53:40 -05:00
  • f277719f10 Remove unused test_setup.sql Jack Christensen 2013-07-30 07:30:50 -05:00
  • 08020c5b53 Remove experimental Jack Christensen 2013-07-30 07:29:28 -05:00
  • 6c576bbef6 Don't test cause of death for killed connection Jack Christensen 2013-07-27 10:37:09 -05:00
  • 2e8ebc0e27 Don't test cause of death for killed connection Jack Christensen 2013-07-27 10:33:11 -05:00
  • 2f5b2c1afc Add SelectValueTo Jack Christensen 2013-07-26 18:08:16 -05:00
  • 097c68e73b Check for alive before rx or tx Jack Christensen 2013-07-26 18:07:46 -05:00
  • c96fa440cc Test getSharedConnection handles dead connections Jack Christensen 2013-07-26 16:45:27 -05:00
  • c36c0875c9 Make message buffer size configurable Jack Christensen 2013-07-26 15:10:19 -05:00
  • 3873a83a0a Buffer writes to the PostgreSQL socket Jack Christensen 2013-07-26 14:48:41 -05:00
  • ad34dc7264 Connections notice when they die and pools drop dead connections Jack Christensen 2013-07-26 13:47:06 -05:00
  • a81a5f08b8 ConnectionPool now only creates the connections it needs Jack Christensen 2013-07-26 07:27:14 -05:00
  • 622ff142ca Add error to *ConnectionPool.Acquire return Jack Christensen 2013-07-25 07:52:05 -05:00
  • 209a9dfaf5 Factor out *ConnectionPool createConnection Jack Christensen 2013-07-25 07:36:58 -05:00
  • 7450854d50 Add benchmark of ConnectionPool Acquire/Release Jack Christensen 2013-07-25 07:34:38 -05:00
  • e55a5ebccf Add AfterConnect callback for ConnectionPool Jack Christensen 2013-07-23 17:46:38 -05:00
  • 7f3c5ab815 Add Execute to ConnectionPool Jack Christensen 2013-07-22 08:05:43 -05:00
  • dfa06ed265 Increase timeout in test to avoid flicker failure Jack Christensen 2013-07-20 19:56:12 -05:00
  • 0d75daf12e Add basic array transcoding for int16, int32, and int64 Jack Christensen 2013-07-20 19:51:01 -05:00
  • 8b27a73a08 Fix typo Jack Christensen 2013-07-20 17:02:08 -05:00
  • 36904168b2 Don't panic! Jack Christensen 2013-07-20 13:07:30 -05:00
  • 0c3753e507 MessageReader uses ReadCString and ReadString names Jack Christensen 2013-07-20 08:40:37 -05:00
  • ce2d53c4fb Use deferred error handling for pgx.MessageReader Jack Christensen 2013-07-20 08:36:33 -05:00
  • fd287527fe Fix connection settings example Jack Christensen 2013-07-20 08:14:17 -05:00
  • b271dd5bf1 Add listen/notify Derek Parker and Jack Christensen 2013-07-19 17:01:38 -05:00
  • 9e321af35c Add binary encoding for timestamptz Jack Christensen 2013-07-19 14:40:07 -05:00
  • faed7f2879 Add timestamptz transcoding Jack Christensen 2013-07-19 13:00:22 -05:00
  • fdeb2412ec Add example for SelectFunc Jack Christensen 2013-07-18 08:39:37 -05:00
  • ef470b1e30 Add date transcoding Jack Christensen 2013-07-18 08:32:31 -05:00
  • c2ddbc0163 Add custom value transcoder example Jack Christensen 2013-07-16 19:08:46 -05:00
  • 9640dc91e4 Make getSharedConnection private again Jack Christensen 2013-07-16 08:32:49 -05:00
  • bae49077ce Use pgx_test package for tests Jack Christensen 2013-07-16 08:29:59 -05:00
  • 8df9964ce8 MessageWriter needs to be public for custom value transcoders Jack Christensen 2013-07-15 17:57:43 -05:00
  • 1af652ce07 More docs and make ValueTranscoder visible. Jack Christensen 2013-07-15 17:45:20 -05:00
  • 462df934ab Add docs for MessageReader Jack Christensen 2013-07-15 08:30:02 -05:00
  • df0a537f59 Make Oid public Jack Christensen 2013-07-15 08:28:33 -05:00
  • 1d1d836207 Added more docs Jack Christensen 2013-07-15 08:14:32 -05:00
  • 0de2a7897a Added more docs Jack Christensen 2013-07-14 17:02:49 -05:00
  • aeeb8a724a Added some documentation Jack Christensen 2013-07-14 16:52:58 -05:00
  • 00e3ec32ca Add TransationIso Jack Christensen 2013-07-13 19:58:44 -05:00
  • 98d4ce4c09 DRYed test and benchmark Jack Christensen 2013-07-13 19:23:13 -05:00
  • 8afcde41f2 Start factoring test helpers out Jack Christensen 2013-07-13 17:29:24 -04:00
  • 26105f4409 Added *Connection.Transaction Jack Christensen 2013-07-13 10:19:29 -04:00
  • ad27e43224 Rollback in progress transactions when releasing connection Jack Christensen 2013-07-13 09:15:40 -04:00
  • e162a0bbcb Update tx status on ready for query message Jack Christensen 2013-07-13 09:04:38 -04:00
  • b4e96027b3 Add one shot queries against connection pool Jack Christensen 2013-07-12 18:42:22 -04:00
  • c69e638f68 Added (remove|restore)BinaryEncoders Jack Christensen 2013-07-12 18:21:40 -04:00
  • 53da3bb789 Use binary encoding for bool Jack Christensen 2013-07-12 18:02:23 -04:00
  • 62dba1a94c Encode float params in binary Jack Christensen 2013-07-12 17:30:45 -04:00
  • 8c7ea78485 Add binary decoding for floats Jack Christensen 2013-07-11 12:42:17 -04:00
  • 01b7865abf Rename writeStringNull to writeCString Jack Christensen 2013-07-10 08:35:41 -04:00
  • 41df8763c6 Refactor transcoder to use messageWriter Jack Christensen 2013-07-10 08:34:18 -04:00
  • abfbf42cc5 Refactor sendPreparedQuery to messageWriter Jack Christensen 2013-07-09 19:07:07 -04:00
  • 07b6385f1d Started refactor to messageWriter Jack Christensen 2013-07-09 17:22:30 -05:00
  • 84a9da28e2 Refactor MessageReader to use bytes.Buffer Jack Christensen 2013-07-09 13:25:28 -05:00
  • 07c2ad1846 Failure of Prepare should not break connection Jack Christensen 2013-07-09 12:51:00 -05:00
  • 6fb360ba6c Execute failures don't break connection Jack Christensen 2013-07-09 10:17:53 -05:00
  • a1c24661cd Added binary encoding for int2 Jack Christensen 2013-07-08 18:11:10 -05:00
  • 31a9683cc1 Added binary encoding to int4 and int8 Jack Christensen 2013-07-08 18:03:24 -05:00
  • 85ffca4fe0 Added int8 binary decoding Jack Christensen 2013-07-08 17:56:14 -05:00
  • a6e742db24 Continue receiving and ignoring messages on SelectFunc until readyForQuery Jack Christensen 2013-07-08 16:17:40 -05:00
  • b8be47feb8 Add basic benchmarks Jack Christensen 2013-07-08 15:37:46 -05:00
  • fe2f62f034 Fix Execute SQL larger than sharedBufferSize Jack Christensen 2013-07-08 14:32:28 -05:00
  • e99a9b2306 Make connections configurable and skippable Jack Christensen 2013-07-07 21:31:35 -05:00
  • a98db507b7 Added bytea support to prepared statements Jack Christensen 2013-07-01 17:12:07 -05:00
  • 52c26ba14c Treat unknown oid's as text type Jack Christensen 2013-07-01 16:50:16 -05:00
  • 732534b944 Add test for boolean transcoding Jack Christensen 2013-07-01 16:43:27 -05:00
  • ecd3923968 Refactor prepared statement path to use ValueTranscoder Jack Christensen 2013-07-01 16:40:53 -05:00
  • 5073a3b9e0 Dirty, but somewhat working prepared statements and extended protocol Jack Christensen 2013-07-01 15:41:20 -05:00
  • 1042f095ee More pluggable value transcoding Jack Christensen 2013-06-30 09:25:19 -05:00
  • d6a0f417c6 Remove unreachable panics (Go 1.1 doesn't need them) Jack Christensen 2013-06-29 19:42:52 -05:00
  • 73a4cfd360 Query methods sanitize arguments Jack Christensen 2013-06-29 19:40:17 -05:00
  • be073a1c82 Refactor getBuf so it no longer needs a size Jack Christensen 2013-06-29 17:27:54 -05:00
  • 258cd170ce Extract txMsg Jack Christensen 2013-06-29 17:07:54 -05:00
  • 357e5c4735 Refactor to using bytes.Buffer Jack Christensen 2013-06-29 16:39:07 -05:00
  • 6339e54be4 SelectValue(s) require exactly one column Jack Christensen 2013-06-29 13:39:35 -05:00
  • 3acfffc142 Removed unused rxDataRowFirstValue Jack Christensen 2013-06-29 13:24:28 -05:00
  • 08801c2fe4 Select(Value|Row) require exactly one found row Jack Christensen 2013-06-29 13:23:26 -05:00
  • aabf563a3b SelectValue and SelectRow error if no rows found Jack Christensen 2013-06-29 13:10:24 -05:00
  • b53b014b54 DRY tests Jack Christensen 2013-06-29 12:39:34 -05:00
  • 6ab233c6f9 Remove ERB templating support Jack Christensen 2013-06-29 12:09:41 -05:00
  • 520da3a102 Use interace{} returning SelectValue(s) Jack Christensen 2013-06-29 12:07:31 -05:00
  • d1fda1b21c Replace Select(type) with SelectValue Jack Christensen 2013-06-29 09:16:58 -05:00
  • 9294c0ee57 Add SelectRow Jack Christensen 2013-06-07 14:23:46 -05:00
  • e4e3ce0d4a Add []byte to bytea sanitization Jack Christensen 2013-05-07 08:29:33 -05:00
  • e21955a1e4 Break sanitize test into multiple checks Jack Christensen 2013-05-07 08:19:12 -05:00
  • ec460173eb Use rake instead of guard for erb compilation Jack Christensen 2013-05-03 13:51:10 -05:00
  • 3fef18bf38 Added automatic .go.erb compilation Jack Christensen 2013-05-02 09:23:26 -05:00
  • 36e4d74d30 Add DataRowReader and change Connection.SelectFunc to use it Jack Christensen 2013-05-01 08:51:09 -05:00
  • 78590be058 Made many things public so SelectFunc is actually usable by others Jack Christensen 2013-04-26 17:06:49 -05:00
  • 19d4a4d577 Make ConnectionParameters fields public Jack Christensen 2013-04-23 08:57:29 -05:00