Jack Christensen
1dc7133a63
Simplify CockroachDB detection
2021-02-27 10:40:06 -06:00
Jack Christensen
09371f21d0
Use JSON format compat with PG and CockroachDB
2021-02-27 10:28:45 -06:00
Jack Christensen
fea4bc4318
Use bigint in tests for compat. with CockroachDB
2021-02-27 10:26:14 -06:00
Jack Christensen
fb60d0780e
Skip unsupported testing functionality on CockroachDB
2021-02-27 10:25:45 -06:00
Jack Christensen
2b63da6f12
Skip backend PID dependent tests on CockroachDB
2021-02-27 10:03:58 -06:00
Jack Christensen
1e15bdc874
Remove deferred from test tables where unneeded
2021-02-27 09:57:14 -06:00
Jack Christensen
ff6ab48e00
Skip tests with parameter description server issues
2021-02-27 09:52:51 -06:00
Jack Christensen
674cf70c51
Skip tests with known server issues
2021-02-27 09:52:51 -06:00
Jack Christensen
775d3b1049
Fake success on example
2021-02-27 09:52:51 -06:00
Jack Christensen
30d44c0369
Test code instead of error message for CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
378bd72b67
Allow flexible number types for CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
44733732e4
Skip number type sensitive test on CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
eaf3e84963
Add timeout to serialization failure test
...
When run with CockroachDB it appears to hang without the timeout.
2021-02-27 09:52:51 -06:00
Jack Christensen
bac0905915
Specify type for CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
ef2adcee08
Skip number type dependent test for CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
b01dd934e5
Allow different int size for CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
fe3a710a5a
Skip test depending on exact int types on CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
9fe7962445
Skip another initially deferred test on CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
80e7f6b0d3
Skip testing circle type on CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
c588c47ddd
Skip client_encoding test for CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
3a27bcd459
Skip standard_conforming_strings = off test for CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
5a16bad252
Skip deferred constraint tests on CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
c4e66b05de
Test accepts bigint vs int for CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
f29aef4409
Skip test with serial on CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
2e50e59491
Skip isolation level test for CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
2f95f67ef5
Remove initially deferred when not needed
...
Makes test compatible with CockroachDB.
2021-02-27 09:52:51 -06:00
Jack Christensen
c8a7c89f15
Skip tests using pg_terminate_backend on CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
19441eee28
CockroachDB returns bigint instead of int
2021-02-27 09:52:51 -06:00
Jack Christensen
5f58e0e443
Cockroach DB uses different error code
2021-02-27 09:52:51 -06:00
Jack Christensen
ec5dfb472c
Skip domain types for CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
a6d902777d
Skip LISTEN / NOTIFY tests for CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
45c2b71377
Skip tests for cidr type for CockroachDB
2021-02-27 09:52:51 -06:00
Jack Christensen
909398127d
Skip large objects tests for CockroackDB
2021-02-27 09:52:51 -06:00
Jack Christensen
37884a20e7
Use testify and more forgiving numeric equality
...
PostgreSQL generate_series can return type int while CockroachDB always
returns bigint.
2021-02-27 09:52:51 -06:00
Jack Christensen
ac2918b9a3
Add BeginFunc and BeginTxFunc
...
fixes #821
2021-02-20 18:30:18 -06:00
Jack Christensen
373bb84e9d
Add *pgxpool.AcquireFunc
...
refs #821
2021-02-20 17:16:33 -06:00
Pau Sanchez
9b58ab2db8
Make ScanArgError fields public
2021-02-20 08:43:57 -06:00
Jack Christensen
927a15124e
Update supported versions
2021-02-13 10:59:00 -06:00
Pau Sanchez
8ad672475a
Make ScanArgError public to allow identification of offending column
...
fixes #931
2021-02-13 08:56:11 -06:00
Jack Christensen
922508c785
Replace Travis with Github CI
2021-01-30 17:17:42 -06:00
Fabrice Aneche
14050e286d
fix data map
2021-01-27 16:36:58 -06:00
Fabrice Aneche
9b59dd0346
added a kitlog level log adapter
2021-01-27 16:36:58 -06:00
davidsbond
aa8604b5c2
Add Ping method to pgxpool.Conn
...
Adds the Ping method to pgxpool.Conn, returning the result of calling Ping on
the underlying pgx.Conn.
2021-01-26 20:46:57 -06:00
Robert Froehlich
210a217818
Add BeforeConnect callback to pgxpool.Config.
...
This allows for connection settings to be updated without having to create
a new pool. The callback is passed a copy of the pgx.ConnConfig and will
not impact existing live connections.
2021-01-02 15:08:59 -08:00
Musbah Sinno
b664891853
Updated CopyFromSlice example in doc.go
...
The example had a syntax error and didn't explain what user was to begin with. Fixed it.
2020-12-23 10:42:48 -06:00
Jack Christensen
fc4d50f6c2
Release v4.10.1
2020-12-19 10:18:49 -06:00
Jack Christensen
9b0e57c4a9
Fix panic on query error with nil stmtcache
...
fixes #895
2020-12-19 10:17:41 -06:00
Jack Christensen
e8f959e0e1
Add QueryFunc
...
refs #821
2020-12-12 09:39:58 -06:00
Jack Christensen
0cbbf55dde
Fix typo
2020-12-12 08:28:55 -06:00
Jack Christensen
e14638e125
Release v4.10.0
2020-12-03 19:50:07 -06:00