2
0

Commit Graph

  • 6d23b58b01 Update url_shortener example Jack Christensen 2019-05-17 14:13:03 -05:00
  • 54c520695f Remove unused code Jack Christensen 2019-05-17 14:00:13 -05:00
  • b0dac84d77 Use extended query builder everywhere Jack Christensen 2019-05-17 13:59:41 -05:00
  • a340d5f15f CopyFail should be frontend message Jack Christensen 2019-05-17 13:27:11 -05:00
  • c418d45f75 Remove unused code Jack Christensen 2019-05-11 11:50:50 -05:00
  • 03abfc6452 Large objects use context Jack Christensen 2019-05-11 11:49:59 -05:00
  • 79f49ce300 Convert large objects to prepared statements Jack Christensen 2019-05-11 11:36:38 -05:00
  • d30cf1c19f Adjust buffer size for CopyFrom Jack Christensen 2019-05-09 15:15:40 -05:00
  • 1baf0ef57e Refactor context handling into ctxwatch package Jack Christensen 2019-05-07 18:05:06 -05:00
  • f572b336b1 Improve pool Acquire / Release performance Jack Christensen 2019-05-04 17:34:09 -05:00
  • 3661a005fa Per pool.Conn preallocated resources Jack Christensen 2019-05-04 16:49:45 -05:00
  • 00a1b62e91 Fix name of defaultMaxConns Jack Christensen 2019-05-04 15:53:25 -05:00
  • 3c7cd51a17 Preallocate poolRows Jack Christensen 2019-05-04 15:52:59 -05:00
  • d7fdbf1b49 Preallocate poolRow Jack Christensen 2019-05-04 15:47:42 -05:00
  • dc0cf11399 Bulk allocate pool Conns Jack Christensen 2019-05-04 15:40:47 -05:00
  • 583c8d3b25 Use pgproto3.FieldDescription instead of pgx version Jack Christensen 2019-05-04 13:47:03 -05:00
  • ea31df3b50 Extract extendedQueryBuilder Jack Christensen 2019-05-04 12:32:21 -05:00
  • 8b365ce37e Extract int16SlicePool Jack Christensen 2019-05-04 11:01:09 -05:00
  • dd571cf345 Remove another malloc from query path Jack Christensen 2019-05-04 09:01:57 -05:00
  • db68713809 Remove malloc from query path Jack Christensen 2019-05-04 08:58:02 -05:00
  • 85ddbfeeee Remove 2 mallocs from query path Jack Christensen 2019-05-04 08:55:05 -05:00
  • 8faa4453fc Update changelog for 3.4.0 Jack Christensen 2019-05-03 15:52:30 -05:00
  • 48df34cc07 Fix inadvertent package doc Jack Christensen 2019-05-03 14:23:11 -05:00
  • 4acc0f54c6 Import fixes from pgx/pgproto3 Jack Christensen 2019-05-03 14:07:55 -05:00
  • 808ae58103 Merge pull request #529 from x4m/copy Jack Christensen 2019-05-03 13:57:25 -05:00
  • fbb8ccee58 Fix few issues with copy command Andrey 2019-04-28 23:11:59 +05:00
  • 7558b8d05f Add AfterConnect hook to pool Jack Christensen 2019-04-27 16:09:23 -05:00
  • 9008387300 Update pgconn Jack Christensen 2019-04-27 15:45:59 -05:00
  • 243f9031b3 Remove extra prepare in stdlib Jack Christensen 2019-04-27 15:45:30 -05:00
  • 71d8503b81 Remove pool/todo.txt Jack Christensen 2019-04-27 10:43:16 -05:00
  • 1b124baf7a Add some documentation to pool Jack Christensen 2019-04-27 10:42:40 -05:00
  • c604afba82 Add pool MaxConnLifetime Jack Christensen 2019-04-27 10:25:53 -05:00
  • c107ea5831 Default to max pool size of larger of 4 or num cpus Jack Christensen 2019-04-27 09:40:17 -05:00
  • ac618f105b Add pool AfterRelease hook Jack Christensen 2019-04-27 09:01:32 -05:00
  • 48ea620c93 Add Pool.BeforeAcquire and ConnectConfig Jack Christensen 2019-04-27 08:31:23 -05:00
  • 27b8876ea3 Add Pool.AcquireAllIdle() Jack Christensen 2019-04-27 08:02:52 -05:00
  • 46a92b5cd4 Run pool tests parallel Jack Christensen 2019-04-25 15:41:17 -05:00
  • d93de3fdc7 Add CopyFrom to pool Jack Christensen 2019-04-25 15:35:53 -05:00
  • 7b1272d254 Add SendBatch to pool Jack Christensen 2019-04-25 15:07:35 -05:00
  • 00d123a944 Prune methods that delegated to *pgconn.PgConn Jack Christensen 2019-04-25 14:25:16 -05:00
  • 1e3961bd0e Fix flickering test Jack Christensen 2019-04-24 16:49:52 -05:00
  • aed6b822d9 Split batch command and result Jack Christensen 2019-04-24 16:39:06 -05:00
  • 23a91ebc90 auth_scram.go file comment should not be part of docs Jack Christensen 2019-04-24 16:08:12 -05:00
  • 7b4e145e7c Remove Batch.die Jack Christensen 2019-04-24 16:03:50 -05:00
  • 3795c7131a Remove unused Batch.ctx Jack Christensen 2019-04-24 16:02:23 -05:00
  • c7d03eb555 Add RowsFromResultReader Jack Christensen 2019-04-24 15:57:50 -05:00
  • a19ca0638f Reorganize conn and rows Jack Christensen 2019-04-24 14:16:52 -05:00
  • 044a55ad2c Remove unused Batch.resultsRead Jack Christensen 2019-04-24 13:44:25 -05:00
  • 187157e773 Remove unused Batch.inTx Jack Christensen 2019-04-24 13:43:37 -05:00
  • 898925303d Update pool todo Jack Christensen 2019-04-24 13:41:05 -05:00
  • d5c510b590 Remove unused Batch field Jack Christensen 2019-04-24 13:40:54 -05:00
  • 2263521f70 Only have a single Begin transaction method Jack Christensen 2019-04-24 13:35:27 -05:00
  • 25c2375fd8 Merge pull request #528 from kak-tus/dt Jack Christensen 2019-04-24 13:12:23 -05:00
  • b4c77819da Use date as date, not datetime. Andrey Kuzmin 2019-04-23 21:13:32 +03:00
  • 2492eae46c Support for pgtype.Date JSON marshal/unmarshal. Andrey Kuzmin 2019-04-22 00:22:22 +03:00
  • 99fd636b8e Finish mod changes for split Jack Christensen 2019-04-20 19:20:51 -05:00
  • 1b8f0016e9 Split pgtype into own repo Jack Christensen 2019-04-20 19:20:00 -05:00
  • 4ed0de4755 Splitting pgtype into own repo Jack Christensen 2019-04-20 19:14:08 -05:00
  • cc3461e65d Use golang.org/x/xerrors Jack Christensen 2019-04-20 17:43:44 -05:00
  • f25878662d Use golang.org/x/xerrors Jack Christensen 2019-04-20 17:43:44 -05:00
  • efb333df6b Fix go modules Jack Christensen 2019-04-20 17:41:08 -05:00
  • 8502a12ac7 Fix go modules Jack Christensen 2019-04-20 17:41:08 -05:00
  • b7e56b003a Replace lastStmtSent with pgconn support Jack Christensen 2019-04-20 17:12:20 -05:00
  • 7e0022ef6b Tag errors if no bytes sent to server Jack Christensen 2019-04-20 16:48:24 -05:00
  • 0f8e1d30e2 Link context errors and underlying conn errors Jack Christensen 2019-04-20 15:53:30 -05:00
  • f3b5f6b275 Allow skipping TestConnExecBatchHuge in short mode Jack Christensen 2019-04-20 15:34:49 -05:00
  • 7a520059d9 Update to remove pgprotov3 ref Jack Christensen 2019-04-20 13:01:59 -05:00
  • c116219b62 Update tests to use v2 Jack Christensen 2019-04-20 13:01:11 -05:00
  • cd629965e6 Use golang.org/x/xerrors Jack Christensen 2019-04-20 12:57:52 -05:00
  • 35a0f64876 Pass ctx to PgConn.Prepare Jack Christensen 2019-04-20 12:06:11 -05:00
  • 0f95329c5a Remove commented out unused one round trip mode Jack Christensen 2019-04-20 12:02:02 -05:00
  • de40fea100 Remove unused variables Jack Christensen 2019-04-20 12:00:07 -05:00
  • 6161728ff9 Prepare takes context Jack Christensen 2019-04-20 11:47:16 -05:00
  • 66625e6489 Prepare takes context Jack Christensen 2019-04-20 11:47:16 -05:00
  • dc699cefc7 Conn.CopyFrom takes context Jack Christensen 2019-04-20 11:38:23 -05:00
  • 95756b1d7f Deallocate takes context Jack Christensen 2019-04-20 11:34:52 -05:00
  • 1f010f412d Simplify Batch.Queue for prepared statements Jack Christensen 2019-04-20 11:29:28 -05:00
  • af1beca9a5 Update pgconn to resolve batch deadlock issue Jack Christensen 2019-04-20 11:13:26 -05:00
  • 39e6ff5766 Prevent deadlock with huge batches Jack Christensen 2019-04-20 11:11:09 -05:00
  • 9f774761ba Fix TestConnLocking Jack Christensen 2019-04-20 10:59:50 -05:00
  • 005c404c23 Remove CopyFromReader tests Jack Christensen 2019-04-20 10:02:49 -05:00
  • 427cfe1c16 Remove unnecessary mux Jack Christensen 2019-04-19 16:23:06 -05:00
  • 2978a7440a Use pgconn for more conn status Jack Christensen 2019-04-19 16:18:47 -05:00
  • 3710e52a9a Add named error for conn busy Jack Christensen 2019-04-19 16:16:55 -05:00
  • ae73ca2da1 Update to more effecient pgconn Jack Christensen 2019-04-19 15:55:45 -05:00
  • 7bb6c2f3e9 Unify locked and closed into status Jack Christensen 2019-04-19 15:52:12 -05:00
  • 16412e56e2 0 alloc context to deadline Jack Christensen 2019-04-19 14:24:51 -05:00
  • 2383561e4d Use 0-alloc pgproto3/v2 Jack Christensen 2019-04-18 23:17:28 -05:00
  • 9b6a681f50 Update go.mod version Jack Christensen 2019-04-18 23:15:44 -05:00
  • 76e904a5a4 CommandComplete.CommandTag is now []byte Jack Christensen 2019-04-18 23:12:18 -05:00
  • 8d43b38287 RowDescription.Name is now []byte Jack Christensen 2019-04-18 23:12:00 -05:00
  • 9d30dad837 Do not buffer results in benchmarks Jack Christensen 2019-04-18 22:52:07 -05:00
  • b6e5b74e2c Reuse one MultiResultReader per connection Jack Christensen 2019-04-18 22:50:36 -05:00
  • 2acb7b6d4e Reduce mallocs in RowDescription.Decode Jack Christensen 2019-04-18 22:33:11 -05:00
  • bc139fadb5 Reuse one ResultReader per connection Jack Christensen 2019-04-18 22:01:47 -05:00
  • e948dc3246 Reuse buffer for writing Jack Christensen 2019-04-18 21:51:58 -05:00
  • 53dd8bf77c Travis fix Jack Christensen 2019-04-16 21:29:41 -05:00
  • 0174907e04 Fix travis unix domain socket test Jack Christensen 2019-04-16 20:58:10 -05:00
  • 5044e8473a Add SCRAM authentication Jack Christensen 2019-04-16 20:46:23 -05:00
  • 244e114435 Add SCRAM authentication Jack Christensen 2019-04-16 20:41:38 -05:00