691 Commits

Author SHA1 Message Date
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
Manni Wood
f73791c6c9 Adds NullAclItem 2016-10-27 21:33:56 -04:00
Jack Christensen
3734a92a71 Log TLS connection errors as info when fallback available
fixes #198
2016-10-21 14:27:38 -05:00
Jack Christensen
3e77d0a1db Merge pull request #197 from manniwood/fix-name-test
Fixes TestNullX test of NullName
2016-10-10 20:10:38 -05:00
Manni Wood
7dec41fb6d Fixes TestNullX test of NullName 2016-10-10 20:41:57 -04:00
Jack Christensen
bf182c76bc Merge pull request #192 from manniwood/add-name
Adds Name/NullName types
2016-10-08 11:25:29 -05:00
Manni Wood
46db1eb9b8 Merge branch 'master' into add-name 2016-10-08 09:39:18 -04:00
Jack Christensen
72a89fde24 Merge pull request #193 from waisbrot/utc-time-test
Fix test failure when DB and client are not in the same time zone
2016-10-06 08:37:49 -05:00
Manni Wood
9041885e3f Merge branch 'master' into add-name 2016-10-06 09:07:42 -04:00
Jack Christensen
19b235d7dd Merge branch 'atombender-add_acquire_timeout_error_value' 2016-10-05 08:44:13 -05:00
Jack Christensen
a62698f8a7 Update changelog 2016-10-05 08:43:39 -05:00
Jack Christensen
bf1cc4dbac Fix test for new named ErrAcquireTimeout 2016-10-05 08:42:30 -05:00
Alexander Staubo
f1de186a93 Connection pool timeout should return a consistent error value so clients can test for it. 2016-10-03 15:56:01 -04:00
Nathaniel Waisbrot
c14c63d63c
Fix test failure when DB and client are not in the same time zone
Explicitly set the time zone to UTC in the database and in the
test expectation. Then compare the two times in the client-local
time zone.
2016-10-03 08:48:05 -04:00