Commit Graph

704 Commits (c88c1101698756d3d42ecc05e2d2896ed9b61deb)

Author SHA1 Message Date
Kris Wehner c88c110169 ReplicationConn refactor 2017-01-09 11:32:02 -08: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
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
Jack Christensen b1f24de75f Merge pull request #207 from ferhatelmas/simple-refactor-to-simplify-maps
Simplify map composite literals as gofmt -s handles
2016-11-23 11:47:26 -06:00
Manni Wood 3beac831cf Adds formatting notes 2016-11-17 22:25:00 -05:00
Manni Wood 7bd2e85f31 Improves names and comments 2016-11-17 22:18:09 -05:00
Manni Wood 09ee8a9b70 Returns AclItem earlier 2016-11-17 22:08:56 -05:00
Manni Wood bce83fd4ba Better names and efficiency 2016-11-17 21:59:05 -05:00
Manni Wood 3906f7c0d0 Casts aclitem earl to avoid O(2n) 2016-11-17 21:45:46 -05:00
Manni Wood 4b430a254e Improves docs around aclitem[] 2016-11-17 21:38:00 -05:00
Manni Wood 323e2b3f78 Adds aclitem helper func tests 2016-11-15 22:22:57 -05:00
Manni Wood 7b3488b088 Makes parseAclItemArray helpers private 2016-11-15 22:14:08 -05:00
Manni Wood 1ebcbab8a3 Removes unneeded XXXs 2016-11-15 22:09:55 -05:00
Manni Wood 6ec7e84dbf Handles parse error for aclitem[] 2016-11-15 22:05:52 -05:00
Manni Wood 5712d02e1b Gets tricky acl parsing working 2016-11-15 21:53:22 -05:00
Manni Wood 4ba4d0097a Gets formatting correct for tricky ingoing string
...but broken for outgoing string; must fix next
2016-11-13 18:08:36 -05:00
Manni Wood 9b8e3043ba Handles empty aclitems 2016-11-12 12:46:31 -05:00
Manni Wood b12a1bb8bc Removes scan from test struct 2016-11-12 12:38:30 -05:00
Manni Wood 96b652cc95 Makes aclitem test types more specific 2016-11-12 12:36:55 -05:00
Manni Wood 104c01df21 Handles aclitem lists of 1+ 2016-11-12 12:28:31 -05:00
Manni Wood d9ab219753 Pulls out aclitem[] assert func 2016-11-12 12:07:48 -05:00
Manni Wood 7d7bc87396 Moves sql outside of struct 2016-11-12 12:01:03 -05:00
Manni Wood 36bdbd7cb1 Parses actual return string
...but only handles aclitem[] size 1
2016-11-12 11:56:04 -05:00
Manni Wood a80ef6d35f Actually takes the first arg 2016-11-12 11:46:07 -05:00
Manni Wood c9292c44e6 Adds aclitem[] len 1 ability 2016-11-12 11:42:07 -05:00
ferhat elmas 84439a13cb Simplify map composite literals as gofmt -s handles 2016-11-09 00:52:10 +01:00
Jack Christensen 2a0504599e Merge branch 'manniwood-add-aclitem'
* manniwood-add-aclitem:
  Adds note on why tricky test user has to actually exist
  Adds a tricky user to test
  Adds NullAclItem
2016-11-04 14:07:43 -05:00
Jack Christensen be94ea0a9a Merge branch 'add-aclitem' of https://github.com/manniwood/pgx into manniwood-add-aclitem
* 'add-aclitem' of https://github.com/manniwood/pgx:
  Adds note on why tricky test user has to actually exist
  Adds a tricky user to test
  Adds NullAclItem
2016-11-04 13:38:54 -05:00
Jack Christensen 8c76baabbd Add changelog note of jsonb []byte change
fixes #200
2016-10-28 15:56:11 -05:00
Manni Wood c1177f292e Adds note on why tricky test user has to actually exist 2016-10-27 22:02:12 -04:00
Manni Wood df033d499f Adds a tricky user to test
This allows us to test aclitem encoding
with tricky SQL identifiers. The user actually
has to exist, or the aclitem will be incorrect.
2016-10-27 21:57:46 -04:00