acoustic-carpenter-78188
05/29/2026, 10:20 AMv1.12.3
• Send datestyle startup parameter, improving compatbility with database engines that use a different default datestyle such as EnterpriseDB (#1312).
#1312: lib/pq#1312
v1.12.2
• Treat io.ErrUnexpectedEOF as driver.ErrBadConn so database/sql discards the connection. Since v1.12.0 this could result in permanently broken connections, especially with CockroachDB which frequently sends partial messages (#1299).
#1299: lib/pq#1299
v1.12.1
• Look for pgpass file in ~/.pgpass instead of ~/.postgresql/pgpass (#1300).
• Don't clear password if directly set on pq.Config (#1302).
#1300: lib/pq#1300 #1302: lib/pq#1302
v1.12.0
• The next release may change the default sslmode fromtorequire. See #1271 for details.prefer
•andCopyIn()have been marked as deprecated. These are simple query builders and not needed forCopyInToSchema()support (which is not deprecated). (#1279)COPY [..] FROM STDIN
`// Old
tx.Prepare(CopyIn("temp", "num", "text", "blob", "nothing"))
`
`` // Replacement
tx.Prepare()copy temp (num, text, blob, nothing) from stdin
``
Features
• Support protocol 3.2, and theandmin_protocol_versionDSN parameters (#1258).max_protocol_version
• Supportandsslmode=prefer(#1270).sslmode=allow
• Supportandssl_min_protocol_version(#1277).ssl_max_protocol_version
• Support connection service file to load connection details (#1285).
• Supportand usesslrootcert=systemas the default value of sslrootcert (#1280, #1281).~/.postgresql/root.crt
• Add a newpackage with PostgreSQL error codes (#1275).pqerror
For example, to test if an error is a UNIQUE constraint violation:
```
if pqErr, ok := errors.AsType[*pq.Error](https://github.com/lib/pq/blob/HEAD/err); ok && pqErr.Code == pqerror.UniqueViolation {
log.Fatalf("email %q already exsts", email)
}
```
To make this a bit more convenient, it also adds a... (truncated) Changelog Sourced from github.com/lib/pq's changelog.function:pq.As()
v1.12.3 (2026-04-03)
• Send datestyle startup parameter, improving compatbility with database engines that use a different default datestyle such as EnterpriseDB (#1312).
#1312: lib/pq#1312
v1.12.2 (2026-04-02)
• Treat io.ErrUnexpectedEOF as driver.ErrBadConn so database/sql discards the connection. Since v1.12.0 this could result in permanently broken connections, especially with CockroachDB which frequently sends partial messages (#1299).
#1299: lib/pq#1299
v1.12.1 (2026-03-30)
• Look for pgpass file in ~/.pgpass instead of ~/.postgresql/pgpass (#1300).
• Don't clear password if directly set on pq.Config (#1302).
#1300: lib/pq#1300 #1302: lib/pq#1302
v1.12.0 (2026-03-18)
• The next release may change the default sslmode fromtorequire. See #1271 for details.prefer
•andCopyIn()have been marked as deprecated. These are simple query builders and not needed forCopyInToSchema()support (which is not deprecated). (#1279)COPY [..] FROM STDIN
`// Old
tx.Prepare(CopyIn("temp", "num", "text", "blob", "nothing"))
`
`` // Replacement
tx.Prepare()copy temp (num, text, blob, nothing) from stdin
``
Features
• Support protocol 3.2, and theand`max_protocol_version` DSN parameters (#1258).min_protocol_version
• Supportandsslmode=prefer(#1270).sslmode=allow
• Support... (truncated) Commits •andssl_min_protocol_version(#1277).ssl_max_protocol_version
1f3e3d9 Send datestyle as a startup parameter (#1312)
• 32ba56b Expand tests for multiple result sets
• c2cfac1 Release v1.12.2
• 859f104 Test CockroachDB
• 12e464c Allow multiple matches and regexps in pqtest.ErrorContains()
• 6d77ced Treat io.ErrUnexpectedEOF as driver.ErrBadConn in handleError
• 71daecb Ensure transactions are closed in pqtest
• 8f44823 Set PGAPPNAME for tests
• 4af2196 Fix healthcheck
• 38a54e4 Split out testdata/init a bit
• Additional commits viewable in compare view
Dependabot compatibility score
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
• @dependabot rebase will rebase this PR
• @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
• @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
• `@de…
flyteorg/flyteacoustic-carpenter-78188
05/29/2026, 5:26 PM