build(deps): bump github.com/lib/pq from 1.12.1 to 1.12.3 #282

Open
dependabotbot_placeholder_mon8rt wants to merge 1 commit from dependabot/go_modules/github.com/lib/pq-1.12.3 into main
dependabotbot_placeholder_mon8rt commented 2026-04-13 13:42:44 +00:00 (Migrated from git.csit.sgu.ru)

Bumps github.com/lib/pq from 1.12.1 to 1.12.3.

Release notes

Sourced from github.com/lib/pq's releases.

v1.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

Changelog

Sourced from github.com/lib/pq's changelog.

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

Commits
  • 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
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.12.1 to 1.12.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lib/pq/releases">github.com/lib/pq's releases</a>.</em></p> <blockquote> <h2>v1.12.3</h2> <ul> <li>Send datestyle startup parameter, improving compatbility with database engines that use a different default datestyle such as EnterpriseDB (<a href="https://redirect.github.com/lib/pq/issues/1312">#1312</a>).</li> </ul> <p><a href="https://redirect.github.com/lib/pq/issues/1312">#1312</a>: <a href="https://redirect.github.com/lib/pq/pull/1312">lib/pq#1312</a></p> <h2>v1.12.2</h2> <ul> <li>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 (<a href="https://redirect.github.com/lib/pq/issues/1299">#1299</a>).</li> </ul> <p><a href="https://redirect.github.com/lib/pq/issues/1299">#1299</a>: <a href="https://redirect.github.com/lib/pq/pull/1299">lib/pq#1299</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/lib/pq/blob/master/CHANGELOG.md">github.com/lib/pq's changelog</a>.</em></p> <blockquote> <h2>v1.12.3 (2026-04-03)</h2> <ul> <li>Send datestyle startup parameter, improving compatbility with database engines that use a different default datestyle such as EnterpriseDB (<a href="https://redirect.github.com/lib/pq/issues/1312">#1312</a>).</li> </ul> <p><a href="https://redirect.github.com/lib/pq/issues/1312">#1312</a>: <a href="https://redirect.github.com/lib/pq/pull/1312">lib/pq#1312</a></p> <h2>v1.12.2 (2026-04-02)</h2> <ul> <li>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 (<a href="https://redirect.github.com/lib/pq/issues/1299">#1299</a>).</li> </ul> <p><a href="https://redirect.github.com/lib/pq/issues/1299">#1299</a>: <a href="https://redirect.github.com/lib/pq/pull/1299">lib/pq#1299</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lib/pq/commit/1f3e3d92865dd313b4e146968684d7e3836c76e8"><code>1f3e3d9</code></a> Send datestyle as a startup parameter (<a href="https://redirect.github.com/lib/pq/issues/1312">#1312</a>)</li> <li><a href="https://github.com/lib/pq/commit/32ba56b8f9c09575e3320f0043f4f0bdf0ad2009"><code>32ba56b</code></a> Expand tests for multiple result sets</li> <li><a href="https://github.com/lib/pq/commit/c2cfac15d5048670f784616c0c3dca56f97f49c0"><code>c2cfac1</code></a> Release v1.12.2</li> <li><a href="https://github.com/lib/pq/commit/859f10493799ae5b3fc3706bbef2ee48764dc787"><code>859f104</code></a> Test CockroachDB</li> <li><a href="https://github.com/lib/pq/commit/12e464c3afecfb945fc764001837c137fa764e37"><code>12e464c</code></a> Allow multiple matches and regexps in pqtest.ErrorContains()</li> <li><a href="https://github.com/lib/pq/commit/6d77ced41719616090c9e7eec2c313a18640bc3f"><code>6d77ced</code></a> Treat io.ErrUnexpectedEOF as driver.ErrBadConn in handleError</li> <li><a href="https://github.com/lib/pq/commit/71daecbc4522cf9cb6c399e19b910d22356ebb87"><code>71daecb</code></a> Ensure transactions are closed in pqtest</li> <li><a href="https://github.com/lib/pq/commit/8f448230b50d3c2f796fd20622daaf8ebe3d173c"><code>8f44823</code></a> Set PGAPPNAME for tests</li> <li><a href="https://github.com/lib/pq/commit/4af2196aa02298c23461f2baf538a0679b66a093"><code>4af2196</code></a> Fix healthcheck</li> <li><a href="https://github.com/lib/pq/commit/38a54e44b0a91e12314291c9102714e7f503ba98"><code>38a54e4</code></a> Split out testdata/init a bit</li> <li>Additional commits viewable in <a href="https://github.com/lib/pq/compare/v1.12.1...v1.12.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/lib/pq&package-manager=go_modules&previous-version=1.12.1&new-version=1.12.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/go_modules/github.com/lib/pq-1.12.3:dependabot/go_modules/github.com/lib/pq-1.12.3
git switch dependabot/go_modules/github.com/lib/pq-1.12.3

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff dependabot/go_modules/github.com/lib/pq-1.12.3
git switch dependabot/go_modules/github.com/lib/pq-1.12.3
git rebase main
git switch main
git merge --ff-only dependabot/go_modules/github.com/lib/pq-1.12.3
git switch dependabot/go_modules/github.com/lib/pq-1.12.3
git rebase main
git switch main
git merge --no-ff dependabot/go_modules/github.com/lib/pq-1.12.3
git switch main
git merge --squash dependabot/go_modules/github.com/lib/pq-1.12.3
git switch main
git merge --ff-only dependabot/go_modules/github.com/lib/pq-1.12.3
git switch main
git merge dependabot/go_modules/github.com/lib/pq-1.12.3
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dsc/mm-backend!282
No description provided.