Jack Christensen
ded01c0cd9
Fix TestParseConfigEnvLibpq unsetting envars
...
This would cause tests to fail if PG* variables were used for the
default connection config for other tests.
Previously broken by 0080acf318
.
2024-05-17 09:19:36 -05:00
Oleksandr Redko
0080acf318
Simplify config tests by using T.Setenv, T.TempDir
2024-05-14 20:06:18 -05:00
Jack Christensen
a966716860
Replace DSN with keyword/value in comments and documentation
...
The term DSN is not used in the PostgreSQL documentation. I'm not sure
why it was originally used. Use the correct PostgreSQL terminology.
2024-05-11 14:33:35 -05:00
vahid-sohrabloo
44768b5a01
fix a typo in config_test.go
...
fix a typo in config_test.go
2024-01-12 17:36:43 -06:00
Nicola Murino
ef363b59ab
skipping some config parsing tests on Windows
...
this should be investigated and fixed
2023-06-03 06:45:28 -05:00
Alexey Palazhchenko
f839d501a7
Apply `gofmt -s`
...
And add CI check for that.
2023-01-24 07:55:00 -06:00
Mark Chambers
672431c0bd
Replace deprecated "io/ioutil"
...
ioutil.TempFile: Deprecated: As of Go 1.17, this function simply calls os.CreateTemp.
ioutil.ReadFile: Deprecated: As of Go 1.16, this function simply calls os.ReadFile.
2023-01-16 20:06:01 -06:00
Jack Christensen
1ec3816a20
pgconn and pgproto use same environment variable for tests as pgx
2022-10-29 13:23:25 -05:00
Jack Christensen
3feeddd9f1
Fix tests when PGUSER is different than OS user
2022-10-29 13:12:03 -05:00
Jack Christensen
72c89108ad
Fix tests when PGPORT set to non-default value
2022-10-29 13:06:53 -05:00
Jack Christensen
ef5655c563
Merge remote-tracking branch 'pgconn/master' into v5-dev
2022-08-19 17:36:29 -05:00
Jack Christensen
0f7b95c3a4
Merge remote-tracking branch 'pgconn/master' into v5-dev
2022-07-12 06:45:54 -05:00
Jack Christensen
2e0ec225de
Make Chunkreader an internal implementation detail
2022-02-26 08:50:46 -06:00
Jack Christensen
e2769993cc
Merge remote-tracking branch 'pgconn/master' into v5-dev
2022-02-07 11:17:27 -06:00
Jack Christensen
72cc95e4dd
Bump module version to v5
2021-12-11 13:29:03 -06:00
Jack Christensen
0e293b966c
Finish import of pgconn
2021-12-04 14:06:57 -06:00
Jack Christensen
19ec4d505f
Import to pgx main repo in pgconn subdir
2021-12-04 13:51:24 -06:00