668 Commits

Author SHA1 Message Date
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
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
Manni Wood
3e6ecda14d Merge branch 'master' into add-char 2016-09-24 01:11:16 -04:00
Jack Christensen
bcfb1f4d7c Use pointer for decimal.Decimal
Fix breakage caused by 54efccb61ffe0a31b6a1908bdc8a35f491da01ea in
https://github.com/shopspring/decimal
2016-09-22 08:56:46 -05:00
Jack Christensen
b1a77cfa31 And another dependency for travis 2016-09-22 08:38:16 -05:00
Jack Christensen
dd7d777682 Fetch another dependency for travis 2016-09-22 08:32:54 -05:00
Jack Christensen
2ccec0026e go get test dependencies on travis 2016-09-22 07:51:47 -05:00
Jack Christensen
79acbeac0e Tweak test for better travis compat. 2016-09-22 07:47:28 -05:00
Jack Christensen
f5b269d56a Update Go versions on Travis 2016-09-22 07:37:18 -05:00
Manni Wood
cc1ad69c32 Adds NullOid type
Oids are rarely null, but they can be: on the right hand
side of a left join, for instance.

This commit takes moves the Oid type def from
messages.go to values.go, so it can live along side the
other types. It removes the special case for testing Oid
and now leverages the TestNullX test instead.
2016-09-20 21:11:30 -04:00
Manni Wood
256cbf0010 Adds example column to pgx.Char doc 2016-09-19 20:48:31 -04:00
Manni Wood
88ac6ff200 Reformats "char" comment a bit 2016-09-19 20:43:03 -04:00
Manni Wood
94203a55ad Adds same comment fix about binary settings as on master 2016-09-19 20:40:13 -04:00
Jack Christensen
ca28687b64 Merge branch 'manniwood-add-tid' 2016-09-19 07:55:24 -05:00
Jack Christensen
aabb77b0d7 Merge branch 'add-tid' of git://github.com/manniwood/pgx into manniwood-add-tid 2016-09-19 07:49:09 -05:00