-
Notifications
You must be signed in to change notification settings - Fork 0
Update module github.com/lib/pq to v1.11.1 #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: go.sum |
|
199202c to
8a78005
Compare
2e1ecbf to
8a78005
Compare
0044308 to
8a78005
Compare
4d2c060 to
8a78005
Compare
fdd6eae to
8a78005
Compare
aeb53e0 to
8a78005
Compare
7790355 to
8a78005
Compare
8a78005 to
84c00f5
Compare
84c00f5 to
2d16559
Compare
27829ce to
60ee67c
Compare
60ee67c to
8de4804
Compare
This PR contains the following updates:
v1.10.8→v1.11.1Release Notes
lib/pq (github.com/lib/pq)
v1.11.1Compare Source
This fixes two regressions present in the v1.11.0 release:
Fix build on 32bit systems, Windows, and Plan 9 (#1253).
Named []byte types and pointers to []byte (e.g.
*[]byte,json.RawMessage)would be treated as an array instead of bytea (#1252).
v1.11.0Compare Source
This version of pq requires Go 1.21 or newer.
pq now supports only maintained PostgreSQL releases, which is PostgreSQL 14 and
newer. Previously PostgreSQL 8.4 and newer were supported.
Features
The
pq.Error.Error()text includes the position of the error (if reportedby PostgreSQL) and SQLSTATE code (#1219, #1224):
The
pq.Error.ErrorWithDetail()method prints a more detailed multilinemessage, with the Detail, Hint, and error position (if any) (#1219):
Add
Config,NewConfig(), andNewConnectorConfig()to supply connectiondetails in a more structured way (#1240).
Support
hostaddrand$PGHOSTADDR(#1243).Support multiple values in
host,port, andhostaddr, which are eachtried in order, or randomly if
load_balance_hosts=randomis set (#1246).Support
target_session_attrsconnection parameter (#1246).Support
sslnegotiationto use SSL without negotiation (#1180).Allow using a custom
tls.Config, for example for encrypted keys (#1228).Add
PQGO_DEBUG=1print the communication with PostgreSQL to stderr, to aidin debugging, testing, and bug reports (#1223).
Add support for NamedValueChecker interface (#1125, #1238).
Fixes
Match HOME directory lookup logic with libpq: prefer $HOME over /etc/passwd,
ignore ENOTDIR errors, and use APPDATA on Windows (#1214).
Fix
sslmode=verify-caverifying the hostname anyway when connecting to a DNSname (rather than IP) (#1226).
Correctly detect pre-protocol errors such as the server not being able to fork
or running out of memory (#1248).
Fix build with wasm (#1184), appengine (#745), and Plan 9 (#1133).
Deprecate and type alias
pq.NullTimetosql.NullTime(#1211).Enforce integer limits of the Postgres wire protocol (#1161).
Accept the
passfileconnection parameter to overridePGPASSFILE(#1129).Fix connecting to socket on Windows systems (#1179).
Don't perform a permission check on the .pgpass file on Windows (#595).
Warn about incorrect .pgpass permissions (#595).
Don't set extra_float_digits (#1212).
Decode bpchar into a string (#949).
Fix panic in Ping() by not requiring CommandComplete or EmptyQueryResponse in
simpleQuery() (#1234)
Recognize bit/varbit (#743) and float types (#1166) in ColumnTypeScanType().
Accept
PGGSSLIBandPGKRBSRVNAMEenvironment variables (#1143).Handle ErrorResponse in readReadyForQuery and return proper error (#1136).
CopyIn() and CopyInSchema() now work if the list of columns is empty, in which
case it will copy all columns (#1239).
Treat nil []byte in query parameters as nil/NULL rather than
""(#838).Accept multiple authentication methods before checking AuthOk, which improves
compatibility with PgPool-II (#1188).
v1.10.9Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.