Update dependency postgres to v4.1.1 #240
Reference in New Issue
Block a user
Delete Branch "renovate/postgres-4.x"
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:
4.1.0→4.1.1Release Notes
porsager/postgres (postgres)
v4.1.1Compare Source
Fixed
sql.beginsends after its ownCOMMITorROLLBACKis rejected (#1320). A statement the callback did not await, sent between the transaction'sCOMMITorROLLBACKand the release of its connection, ran outside the transaction, and after a rollback its write was kept. It now rejects withUNSAFE_TRANSACTION, as a statement after the transaction has ended does.sql.unsafe('select …; rollback')theROLLBACKresult had the columns of theSELECTbefore it..cursor()yields the rows ofSHOW,EXPLAINand other commands without a row count. Their last batch was only passed on when the command tag had a count, so a cursor over them yielded nothing.PGSSLMODEis kept when a url hassslrootcert,sslcertorsslkey. Such a url without ansslmodeusedrequireeven ifPGSSLMODEwas set, soPGSSLMODE=verify-fulldropped the host name check andPGSSLMODE=disableused TLS.stackrejects the waiting queries (#1312). Adding the calling line to such an error threw, so the queries waiting for a connection never settled and the pool stopped retrying. On Bun a DNS error such asEAI_AGAINhas nostack, so a query to a host that doesn't resolve hung forever.sql.batchno longer keeps the process alive forcancel_timeout(#1317, #1318). The timer that waits for the cancel to be answered was left running after the batch rejected, so the process stayed up for 5 seconds aftersql.end()._no longer makestoCamelandtoPascalthrow (#1313). Withtransform: postgres.camel, such a key made the whole query throw. The trailing_is now kept, soa_staysa_, and an empty key stays empty instead of becomingundefined.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 Mend Renovate CLI.