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
Jack Christensen
fb88a34cb4
Skip test with known issue on CockroachDB
2021-02-20 16:40:16 -06:00
Jack Christensen
abeb337246
Accept nil *time.Time in Time.Set
2021-02-20 09:28:14 -06:00
Pau Sanchez
9b58ab2db8
Make ScanArgError fields public
2021-02-20 08:43:57 -06:00
Jack Christensen
4bde08d1a6
LRU statement cache tests handle CockroackDB
2021-02-13 11:19:09 -06:00
Jack Christensen
927a15124e
Update supported versions
2021-02-13 10:59:00 -06:00
Jack Christensen
d05c52217a
Initial CockroachDB testing
2021-02-13 10:47:22 -06:00
Jack Christensen
a78ab5bdcd
Test should abort if cannot setup database
2021-02-13 09:39:42 -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
Jack Christensen
9cf5752625
Change Github CI to run on master
2021-01-30 16:48:51 -06:00
Jack Christensen
609cd81d64
Remove obsolete Travis badge
2021-01-30 16:47:51 -06:00
Jack Christensen
ed0090f610
Use race detector on Github CI
2021-01-30 16:44:17 -06:00
Jack Christensen
c10c60cad5
Add build matrix for Go and PG
2021-01-30 16:38:58 -06:00
Jack Christensen
c107f909a2
Create user for Unix domain socket
2021-01-30 16:28:27 -06:00
Jack Christensen
eb32285906
Use native PostgreSQL package
...
Also remove travis integration.
2021-01-30 16:22:38 -06:00
Jack Christensen
94608a2482
Merge branch 'master' into github-ci-wip
2021-01-30 13:05:59 -06:00
Jack Christensen
74517d7315
Fix test when PGSSLMODE=disable
...
When PGSSLMODE=disable no fallback config was created which would cause
the check that fallbacks are deep copied to crash on:
copied.Fallbacks[0].Port = uint16(5433)
2021-01-30 13:03:56 -06:00
Jack Christensen
a9c2b5c3cb
Revert "Try to debug failing CI test"
...
This reverts commit 6c2a423dbc25d634270b04ecaac7a1d644037945.
2021-01-30 13:01:27 -06:00
Jack Christensen
6c2a423dbc
Try to debug failing CI test
2021-01-30 12:58:25 -06:00
Jack Christensen
63bcdfde61
Fix CI link
2021-01-30 12:48:58 -06:00
Jack Christensen
7d8845a9d8
Initial import from pgtype
2021-01-30 12:47:34 -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
Jack Christensen
120139a206
Add link to PG docs for connString format
...
fixes #62
2021-01-14 18:22:21 -06:00
Stephane Martin
6830cc0984
Fix: also consider \r, \f, \t as whitespace ( jackc/pgtype#86 )
2021-01-14 18:10:48 -06:00
Stephane Martin
59b79a2e49
Fix: escaped strings when they start or end with a newline char ( jackc/pgtype#86 )
2021-01-14 18:10:48 -06:00
Vasilii Novikov
1e141d8c32
Add tsrange array type.
2021-01-09 09:40:43 -06:00
Moshe Katz
724bf94515
use proper pgpass location on Windows
2021-01-09 09:36:36 -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
Jack Christensen
b23d41c399
Add CI badge
2020-12-28 13:11:36 -06:00
Jack Christensen
6e11216708
Yet another CI tweak
2020-12-28 13:02:34 -06:00
Jack Christensen
be67555d02
Another CI tweak
2020-12-28 12:56:41 -06:00
Jack Christensen
e2115310b7
More CI
2020-12-28 12:50:42 -06:00
Jack Christensen
ea92194719
Add PostgreSQL service to CI
2020-12-28 12:35:01 -06:00
Jack Christensen
97f8f6a25a
Begin CI with Github Actions
2020-12-28 12:22:56 -06:00
Jack Christensen
e276d9b832
Add more documentation to TxStatus
2020-12-23 12:21:34 -06:00
Jack Christensen
b77cee2a28
Fix scanning int into **sql.Scanner implementor
...
See https://github.com/jackc/pgx/issues/897 .
2020-12-23 11:17:02 -06: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
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
ip.novikov
e0d22c1100
improve regexp
...
get shortest sequence between : and @
2020-12-05 22:11:52 +03:00
ip.novikov
a581247a12
Add check for url with broken password
...
replace broken password in parseConfigError message
2020-12-05 15:28:01 +03:00
Jack Christensen
e14638e125
Release v4.10.0
v4.10.0
2020-12-03 19:50:07 -06:00
Jack Christensen
8c7667376e
Update dependencies
2020-12-03 19:43:27 -06:00
Jack Christensen
82bac82213
stdlib: consider any Ping failure as fatal
...
refs #672
2020-12-03 19:41:03 -06:00