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
Manni Wood
b198efdcef
Merge branch 'master' into add-name
2016-10-01 13:57:21 -04:00
Manni Wood
c8575984d8
Removes name length convenience method
2016-10-01 13:46:48 -04:00
Jack Christensen
ed2ab0a129
Update changlog
2016-10-01 11:06:15 -05:00
Jack Christensen
f7b6b3f077
Handle json/jsonb in binary to support CopyTo
...
fixes #189
2016-10-01 11:01:54 -05:00
Manni Wood
ca96431b5e
Fixes a documentation typo
2016-09-29 00:36:56 -04:00
Manni Wood
c25e3dd826
Adds Name/NullName types
2016-09-29 00:25:19 -04:00
Jack Christensen
a9199847a8
Merge branch 'manniwood-add-null-oid'
2016-09-27 08:51:15 -05:00
Manni Wood
d6ad52a2c2
Merge branch 'master' into add-null-oid
2016-09-25 09:48:28 -04:00
Jack Christensen
383c12177e
Add mapping information for core types.
...
refs #183
2016-09-24 12:49:51 -05:00
Jack Christensen
01afb57c8a
Merge branch 'manniwood-add-char'
2016-09-24 11:42:17 -05:00