Commit Graph

890 Commits (e4451b47b257cd89bda942c349e5ad70855a13f3)

Author SHA1 Message Date
Jack Christensen a52a6bd555 Add PgxScanner interface
Enables types to support database/sql at the same time as pgx.

fixes #232
2017-02-02 20:20:52 -06:00
Jack Christensen 63e482f6bc Update changelog for logical replication 2017-02-02 19:33:03 -06:00
Jack Christensen 0b5a42a6fc Merge branch 'seatme-feature/replication_conn' 2017-02-02 19:30:37 -06:00
Jack Christensen 27b90681e8 Fix find-and-replace errors 2017-02-02 19:30:26 -06:00
Jack Christensen 24265cf352 Merge branch 'feature/replication_conn' of https://github.com/seatme/pgx into seatme-feature/replication_conn 2017-02-02 19:21:24 -06:00
Kris Wehner be5a9a0aff Clean shutdown after the flush lsn check 2017-01-30 14:12:12 -08:00
Kris Wehner 76ac06083e Dont test when you dont have a config 2017-01-30 13:55:18 -08:00
Kris Wehner 86fef0e5d7 go fmt 2017-01-30 11:37:07 -08:00
Kris Wehner 1424fb2b42 Add IdentifySystem and TimelineHistory functions, and tighten up the testing 2017-01-30 11:35:48 -08:00
Kris Wehner 41d9c0f338 Add tests for replication slot drop, and go fmt 2017-01-26 18:24:21 -08:00
Jack Christensen c8080fc4a1 Update travis config 2017-01-24 08:29:46 -06:00
Jack Christensen d398d95764 Explicitly close checked-in connections on ConnPool.Reset 2017-01-23 22:48:17 -06:00
Jack Christensen 79b28d24e2 Add todo to v3 2017-01-21 16:01:21 -06:00
Kris Wehner b2f416c07d Drop replication slot has to run on a live connection, so we'll use the function form for the test. 2017-01-09 14:27:34 -08:00
Kris Wehner af01afca00 Add the drop replication slot functionality 2017-01-09 14:19:08 -08:00
Kris Wehner c88c110169 ReplicationConn refactor 2017-01-09 11:32:02 -08:00
Jack Christensen 15c4307c48 Add note for strongly typed queries 2017-01-07 14:18:52 -06:00
Jack Christensen 69434056c6 Remove Conn.TxStatus 2017-01-07 14:10:11 -06:00
Jack Christensen ec513248ac Conn.PID accessed through method 2017-01-07 13:37:36 -06:00
Jack Christensen e871ccfca2 Update docs for BeginEx 2017-01-07 13:12:09 -06:00
Jack Christensen 356fcd4b0e Add note for privatizing struct vars 2017-01-07 12:58:37 -06:00
Jack Christensen ecedf3d94a Fix stdlib test logger 2017-01-07 10:16:12 -06:00
Jack Christensen 0131efd6c9 Fix url_shortener example logging 2017-01-07 10:11:27 -06:00
Jack Christensen a35621d285 Add note about cancel and timeouts 2017-01-06 18:45:02 -06:00
Jack Christensen f895e970b5 Merge branch 'master' into v3-experimental
* master:
  Tweak replication test setup
  Properly make it a func init()
  The naming really matters
  Fix the syntax
  Properly make the replication tests skippable on 9.5 and below
  I forgot the tests are 9.6+
  One more try for travis
  Valid YAML helps.
  Dont break old postgres
  Try to fix travis
  Add the ability to set all the fields in the constructor
  Start replication now wraps the sql and returns errors properly
  It should all be unsigned.
  Capitalization
  Add replication stop mechanism
  Add basic logical replication protocol support
2017-01-06 15:25:57 -06:00
Jack Christensen 6c5b470317 Merge branch 'seatme-master'
* seatme-master:
  Tweak replication test setup
  Properly make it a func init()
  The naming really matters
  Fix the syntax
  Properly make the replication tests skippable on 9.5 and below
  I forgot the tests are 9.6+
  One more try for travis
  Valid YAML helps.
  Dont break old postgres
  Try to fix travis
  Add the ability to set all the fields in the constructor
  Start replication now wraps the sql and returns errors properly
  It should all be unsigned.
  Capitalization
  Add replication stop mechanism
  Add basic logical replication protocol support
2017-01-06 15:04:26 -06:00
Jack Christensen 0ee01e0c4a Tweak replication test setup 2017-01-06 15:04:03 -06:00
Kris Wehner 5584040249 Properly make it a func init() 2017-01-05 12:55:34 -08:00
Kris Wehner d9a80caaad The naming really matters 2017-01-05 12:50:42 -08:00
Kris Wehner 24f06aed9a Fix the syntax 2017-01-05 10:57:49 -08:00
Kris Wehner 69852595d8 Properly make the replication tests skippable on 9.5 and below 2017-01-05 10:25:48 -08:00
Kris Wehner 883e604d0e I forgot the tests are 9.6+ 2017-01-05 10:14:05 -08:00
Kris Wehner c4de74fea2 One more try for travis 2017-01-05 10:04:58 -08:00
Kris Wehner 1b8606a458 Valid YAML helps. 2017-01-05 10:00:51 -08:00
Kris Wehner 71a61cd2c5 Dont break old postgres 2017-01-05 09:55:38 -08:00
Kris Wehner 8f5875b7b2 Try to fix travis 2017-01-05 09:50:23 -08:00
Kris Wehner 9d60e77aa4 Merge pull request #1 from seatme/feature/logical_replication
Add logical replication support to PGX
2017-01-04 15:42:07 -08:00
Kris Wehner cf225c8365 Add the ability to set all the fields in the constructor 2017-01-03 13:56:34 -08:00
Kris Wehner dad2c383af Start replication now wraps the sql and returns errors properly 2017-01-03 11:49:13 -08:00
Jack Christensen 430d4943c7 Replace BeginIso with BeginEx
Adds support for read/write mode and deferrable modes.
2016-12-31 11:48:45 -06:00
Jack Christensen 93e5c68f69 Merge branch 'master' into v3-experimental 2016-12-10 12:21:08 -06:00
Kris Wehner 2b096a7d08 It should all be unsigned. 2016-12-08 15:26:44 -08:00
Kris Wehner 14497e4c65 Capitalization 2016-12-07 21:19:58 -08:00
Kris Wehner edbd30ea6a Add replication stop mechanism 2016-12-06 15:44:37 -08:00
Kris Wehner 7bbb1c7307 Add basic logical replication protocol support 2016-12-04 21:35:22 -08:00
Jack Christensen e96c105b55 decodeJSONB works for text and binary format 2016-11-23 12:52:04 -06:00
Jack Christensen c952d48a5c Return first err in decodeJSONB
fixes #212
2016-11-23 12:29:21 -06:00
Jack Christensen db13650410 Merge branch 'manniwood-add-aclitem-array' 2016-11-23 12:20:05 -06:00
Jack Christensen 44bdca1ded Merge branch 'add-aclitem-array' of https://github.com/manniwood/pgx into manniwood-add-aclitem-array 2016-11-23 12:03:51 -06:00
Jack Christensen f8930d614f tricky user does not need superuser 2016-11-23 12:00:48 -06:00