storj/private/dbutil
paul cannon bbdb351e5e all: use jackc/pgx in place of lib/pq
What:

Use the github.com/jackc/pgx postgresql driver in place of
github.com/lib/pq.

Why:

github.com/lib/pq has some problems with error handling and context
cancellations (i.e. it might even issue queries or DML statements more
than once! see https://github.com/lib/pq/issues/939). The
github.com/jackx/pgx library appears not to have these problems, and
also appears to be better engineered and implemented (in particular, it
doesn't use "exceptions by panic"). It should also give us some
performance improvements in some cases, and even more so if we can use
it directly instead of going through the database/sql layer.

Change-Id: Ia696d220f340a097dee9550a312d37de14ed2044
2020-07-13 15:54:41 +00:00
..
cockroachutil all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
dbschema private: Prepare pkg for enabling gosec 2020-06-11 12:00:52 +00:00
pgtest tests: allow STORJ_TEST_POSTGRES 2020-07-10 16:43:49 +03:00
pgutil all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
sqliteutil all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
tempdb storage/cockroachkv: add ctx argument 2020-01-13 15:57:47 +02:00
txutil all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
utccheck storagenodedb: reenable utccheck in tests 2019-12-10 23:17:14 +00:00
dbimplementation.go all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
defaults.go private/dbutil: reduce db connection defaults (#3920) 2020-07-08 19:59:42 +02:00
nulltime.go mod: update sqlite module to v2.0.2 2020-01-08 21:21:15 +02:00
split.go all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
tempdbtype.go private/tagsql,storage: fixes to context cancellation 2020-01-20 15:44:39 +02:00