You've already forked db-wait
chore(deps): update module github.com/lib/pq to v1.12.3 #224
Reference in New Issue
Block a user
Delete Branch "renovate/go-modules"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.11.2→v1.12.3Release Notes
lib/pq (github.com/lib/pq)
v1.12.3Compare Source
that use a different default datestyle such as EnterpriseDB (#1312).
v1.12.2Compare Source
connection. Since v1.12.0 this could result in permanently broken connections,
especially with CockroachDB which frequently sends partial messages (#1299).
v1.12.1Compare Source
Look for pgpass file in ~/.pgpass instead of ~/.postgresql/pgpass (#1300).
Don't clear password if directly set on pq.Config (#1302).
v1.12.0Compare Source
The next release may change the default sslmode from
requiretoprefer.See #1271 for details.
CopyIn()andCopyInToSchema()have been marked as deprecated. These aresimple query builders and not needed for
COPY [..] FROM STDINsupport (whichis not deprecated). (#1279)
Features
Support protocol 3.2, and the
min_protocol_versionandmax_protocol_versionDSN parameters (#1258).Support
sslmode=preferandsslmode=allow(#1270).Support
ssl_min_protocol_versionandssl_max_protocol_version(#1277).Support connection service file to load connection details (#1285).
Support
sslrootcert=systemand use~/.postgresql/root.crtas the defaultvalue of sslrootcert (#1280, #1281).
Add a new
pqerrorpackage with PostgreSQL error codes (#1275).For example, to test if an error is a UNIQUE constraint violation:
To make this a bit more convenient, it also adds a
pq.As()function:Fixes
Fix SSL key permission check to allow modes stricter than 0600/0640#1265 (#1265).
Fix Hstore to work with binary parameters (#1278).
Clearer error when starting a new query while pq is still processing another
query (#1272).
Send intermediate CAs with client certificates, so they can be signed by an
intermediate CA (#1267).
Use
time.UTCfor UTC aliases such asEtc/UTC(#1282).Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.