Jack Christensen
5702f34407
Fix replication with context
...
The normal connection context timeout cancels the current query. That isn't
appropriate for a replication connection.
2017-03-05 14:00:38 -06:00
Jack Christensen
071f4cc2ad
Conn.Close waits for server to close connection
2017-03-05 13:47:28 -06:00
Jack Christensen
b139307f5b
Move OID to pgtype
2017-03-05 13:05:49 -06:00
Jack Christensen
af8519991e
Move OID to pgtype
2017-03-05 13:05:49 -06:00
Jack Christensen
6f9aef67c7
Fix comment on XID
2017-03-05 09:18:50 -06:00
Jack Christensen
f66b80c387
Fix comment on XID
2017-03-05 09:18:50 -06:00
Jack Christensen
603d829611
Extract pguint32
2017-03-05 09:13:25 -06:00
Jack Christensen
164bf9eebe
Extract pguint32
2017-03-05 09:13:25 -06:00
Jack Christensen
8922421ad6
Move XID to pgypte
2017-03-05 09:07:07 -06:00
Jack Christensen
cb1c05476f
Move XID to pgypte
2017-03-05 09:07:07 -06:00
Jack Christensen
3aad9c08d5
Generalize array template
2017-03-05 08:59:26 -06:00
Jack Christensen
0f68bdcd52
Generalize array template
2017-03-05 08:59:26 -06:00
Jack Christensen
0437c9f5d6
Move cid to pgtype
2017-03-04 22:12:03 -06:00
Jack Christensen
575574cf98
Move cid to pgtype
2017-03-04 22:12:03 -06:00
Jack Christensen
12ac0c33b8
Remove unused array code from pgx
2017-03-04 21:23:57 -06:00
Jack Christensen
4254e5f2d2
Add text to pgtype
2017-03-04 21:20:56 -06:00
Jack Christensen
fa57904d6b
Add text to pgtype
2017-03-04 21:20:56 -06:00
Jack Christensen
b1fc8109db
Remove AF_INET fetching system
...
Also remove old encode/decode inet/cidr code. This removed some functionality
from Rows.Values, but that entire system will soon change anyway.
2017-03-04 18:00:51 -06:00
Jack Christensen
005916166a
Remove behavior migrated to pgtype
2017-03-04 17:43:12 -06:00
Jack Christensen
93e1715082
Add inet and cidr to pgtype
2017-03-04 17:33:41 -06:00
Jack Christensen
4cdea13f0f
Add inet and cidr to pgtype
2017-03-04 17:33:41 -06:00
Jack Christensen
0f115477de
Add float4, float8 and arrays
2017-03-04 13:29:04 -06:00
Jack Christensen
2010bea555
Add float4, float8 and arrays
2017-03-04 13:29:04 -06:00
Jack Christensen
39b60605ae
Add timestamp to pgtype
2017-03-04 12:36:24 -06:00
Jack Christensen
3179e2debc
Add timestamp to pgtype
2017-03-04 12:36:24 -06:00
Jack Christensen
34c5070371
Add arrays to all other pgtypes
2017-03-04 11:48:53 -06:00
Jack Christensen
ffb949054d
Add arrays to all other pgtypes
2017-03-04 11:48:53 -06:00
Jack Christensen
aabf43a725
Remove types from Decode handled by pgtypes
2017-03-04 09:44:10 -06:00
Jack Christensen
a2843aba53
Add tests for pgtype.Int2Array
2017-03-03 19:19:31 -06:00
Jack Christensen
0e8dd862b1
Add tests for pgtype.Int2Array
2017-03-03 19:19:31 -06:00
Jack Christensen
c4e08dab42
Add pgtype error cases
2017-03-03 18:39:52 -06:00
Jack Christensen
6a3b22cee8
Add pgtype error cases
2017-03-03 18:39:52 -06:00
Jack Christensen
db69aa6f72
Add tests to more pgtypes
...
Int4, Int8, Date, Timestamptz
2017-03-03 18:23:26 -06:00
Jack Christensen
5b861d0a5f
Add tests to more pgtypes
...
Int4, Int8, Date, Timestamptz
2017-03-03 18:23:26 -06:00
Jack Christensen
3d54c9a958
Add test for pgtype.Int2.AssignTo
2017-03-03 17:59:26 -06:00
Jack Christensen
9e5d81d8f5
Add test for pgtype.Int2.AssignTo
2017-03-03 17:59:26 -06:00
Jack Christensen
2fb46fb16f
Fix travis.yml
2017-03-03 17:42:25 -06:00
Jack Christensen
7fd09c4cd2
Supply DATABASE_URL for travis
2017-03-03 17:39:55 -06:00
Jack Christensen
890708967c
Standardize receiver variable name for pgtype
...
Conversion functions now use standardized src and dst depending on their role.
2017-03-03 17:35:02 -06:00
Jack Christensen
272f095a44
Standardize receiver variable name for pgtype
...
Conversion functions now use standardized src and dst depending on their role.
2017-03-03 17:35:02 -06:00
Jack Christensen
66712f8259
travis needs go 1.8 not 1.8.0
2017-03-03 17:16:07 -06:00
Jack Christensen
a1e4efe14e
Add more tests for pgtype.Bool
2017-03-03 17:15:05 -06:00
Jack Christensen
2e2b11be34
Add more tests for pgtype.Bool
2017-03-03 17:15:05 -06:00
Jack Christensen
0a0c086edd
Fix broken stdlib tests
2017-03-03 16:46:50 -06:00
Jack Christensen
ed9e8bb168
Remove skip test for missing json type
...
All supported versions of PostgreSQL now have json type.
2017-03-03 16:08:00 -06:00
Jack Christensen
908c439317
Use stdlib context
2017-03-03 16:01:06 -06:00
Jack Christensen
15b44f4096
Remove -short from travis
2017-03-03 16:00:08 -06:00
Jack Christensen
cea412f2ba
Fix chat example
2017-03-03 15:57:24 -06:00
Jack Christensen
e53f739cbd
Add STRESS_FACTOR to stress tests
2017-03-03 15:54:06 -06:00
Jack Christensen
70f04f227e
Remove long TLS stress test
...
This was used to check that over 512 MB could be read over a TLS connection.
This previously could fail due to SSL renegotiation. But now pgx explicitly
disables renegotiation when connecting to the PostgreSQL server. Also, the Go
TLS library now supports limited renegotiation. And Amazon Redshift was the
only target that this mattered on, and it now supports disabling
renegotiation. So removing this long running and no longer needed test.
2017-03-03 15:45:42 -06:00