dependabot[bot] opened a new pull request, #37454:
URL: https://github.com/apache/beam/pull/37454

   Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.9 to 1.11.1.
   <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.11.1</h2>
   <p>This fixes two regressions present in the v1.11.0 release:</p>
   <ul>
   <li>
   <p>Fix build on 32bit systems, Windows, and Plan 9 (<a 
href="https://redirect.github.com/lib/pq/issues/1253";>#1253</a>).</p>
   </li>
   <li>
   <p>Named []byte types and pointers to []byte (e.g. <code>*[]byte</code>, 
<code>json.RawMessage</code>) would be treated as an array instead of bytea (<a 
href="https://redirect.github.com/lib/pq/issues/1252";>#1252</a>).</p>
   </li>
   </ul>
   <p><a href="https://redirect.github.com/lib/pq/issues/1252";>#1252</a>: <a 
href="https://redirect.github.com/lib/pq/pull/1252";>lib/pq#1252</a>
   <a href="https://redirect.github.com/lib/pq/issues/1253";>#1253</a>: <a 
href="https://redirect.github.com/lib/pq/pull/1253";>lib/pq#1253</a></p>
   <h2>v1.11.0</h2>
   <p>This version of pq requires Go 1.21 or newer.</p>
   <p>pq now supports only maintained PostgreSQL releases, which is PostgreSQL 
14 and newer. Previously PostgreSQL 8.4 and newer were supported.</p>
   <h3>Features</h3>
   <ul>
   <li>
   <p>The <code>pq.Error.Error()</code> text  includes the position of the 
error (if reported by PostgreSQL) and SQLSTATE code (<a 
href="https://redirect.github.com/lib/pq/issues/1219";>#1219</a>, <a 
href="https://redirect.github.com/lib/pq/issues/1224";>#1224</a>):</p>
   <pre><code>pq: column &quot;columndoesntexist&quot; does not exist at column 
8 (42703)
   pq: syntax error at or near &quot;)&quot; at position 2:71 (42601)
   </code></pre>
   </li>
   <li>
   <p>The <code>pq.Error.ErrorWithDetail()</code> method prints a more detailed 
multiline message, with the Detail, Hint, and error position (if any) (<a 
href="https://redirect.github.com/lib/pq/issues/1219";>#1219</a>):</p>
   <pre><code>ERROR:   syntax error at or near &quot;)&quot; (42601)
   CONTEXT: line 12, column 1:
   <pre><code> 10 |     name           varchar,
    11 |     version        varchar,
    12 | );
         ^
   </code></pre>
   <p></code></pre></p>
   </li>
   <li>
   <p>Add <code>Config</code>, <code>NewConfig()</code>, and 
<code>NewConnectorConfig()</code> to supply connection details in a more 
structured way (<a 
href="https://redirect.github.com/lib/pq/issues/1240";>#1240</a>).</p>
   </li>
   <li>
   <p>Support <code>hostaddr</code> and <code>$PGHOSTADDR</code> (<a 
href="https://redirect.github.com/lib/pq/issues/1243";>#1243</a>).</p>
   </li>
   <li>
   <p>Support multiple values in <code>host</code>, <code>port</code>, and 
<code>hostaddr</code>, which are each tried in order, or randomly if 
<code>load_balance_hosts=random</code> is set (<a 
href="https://redirect.github.com/lib/pq/issues/1246";>#1246</a>).</p>
   </li>
   <li>
   <p>Support <code>target_session_attrs</code> connection parameter (<a 
href="https://redirect.github.com/lib/pq/issues/1246";>#1246</a>).</p>
   </li>
   <li>
   <p>Support [<code>sslnegotiation</code>] to use SSL without negotiation (<a 
href="https://redirect.github.com/lib/pq/issues/1180";>#1180</a>).</p>
   </li>
   <li>
   <p>Allow using a custom <code>tls.Config</code>, for example for encrypted 
keys (<a href="https://redirect.github.com/lib/pq/issues/1228";>#1228</a>).</p>
   </li>
   <li>
   <p>Add <code>PQGO_DEBUG=1</code> print the communication with PostgreSQL to 
stderr, to aid in debugging, testing, and bug reports (<a 
href="https://redirect.github.com/lib/pq/issues/1223";>#1223</a>).</p>
   </li>
   <li>
   <p>Add support for NamedValueChecker interface (<a 
href="https://redirect.github.com/lib/pq/issues/1125";>#1125</a>, <a 
href="https://redirect.github.com/lib/pq/issues/1238";>#1238</a>).</p>
   </li>
   </ul>
   <h3>Fixes</h3>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </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.11.1 (2025-01-29)</h2>
   <p>This fixes two regressions present in the v1.11.0 release:</p>
   <ul>
   <li>
   <p>Fix build on 32bit systems, Windows, and Plan 9 (<a 
href="https://redirect.github.com/lib/pq/issues/1253";>#1253</a>).</p>
   </li>
   <li>
   <p>Named []byte types and pointers to []byte (e.g. <code>*[]byte</code>, 
<code>json.RawMessage</code>)
   would be treated as an array instead of bytea (<a 
href="https://redirect.github.com/lib/pq/issues/1252";>#1252</a>).</p>
   </li>
   </ul>
   <p><a href="https://redirect.github.com/lib/pq/issues/1252";>#1252</a>: <a 
href="https://redirect.github.com/lib/pq/pull/1252";>lib/pq#1252</a>
   <a href="https://redirect.github.com/lib/pq/issues/1253";>#1253</a>: <a 
href="https://redirect.github.com/lib/pq/pull/1253";>lib/pq#1253</a></p>
   <h2>v1.11.0 (2025-01-28)</h2>
   <p>This version of pq requires Go 1.21 or newer.</p>
   <p>pq now supports only maintained PostgreSQL releases, which is PostgreSQL 
14 and
   newer. Previously PostgreSQL 8.4 and newer were supported.</p>
   <h3>Features</h3>
   <ul>
   <li>
   <p>The <code>pq.Error.Error()</code> text  includes the position of the 
error (if reported
   by PostgreSQL) and SQLSTATE code (<a 
href="https://redirect.github.com/lib/pq/issues/1219";>#1219</a>, <a 
href="https://redirect.github.com/lib/pq/issues/1224";>#1224</a>):</p>
   <pre><code>pq: column &quot;columndoesntexist&quot; does not exist at column 
8 (42703)
   pq: syntax error at or near &quot;)&quot; at position 2:71 (42601)
   </code></pre>
   </li>
   <li>
   <p>The <code>pq.Error.ErrorWithDetail()</code> method prints a more detailed 
multiline
   message, with the Detail, Hint, and error position (if any) (<a 
href="https://redirect.github.com/lib/pq/issues/1219";>#1219</a>):</p>
   <pre><code>ERROR:   syntax error at or near &quot;)&quot; (42601)
   CONTEXT: line 12, column 1:
   <pre><code> 10 |     name           varchar,
    11 |     version        varchar,
    12 | );
         ^
   </code></pre>
   <p></code></pre></p>
   </li>
   <li>
   <p>Add <code>Config</code>, <code>NewConfig()</code>, and 
<code>NewConnectorConfig()</code> to supply connection
   details in a more structured way (<a 
href="https://redirect.github.com/lib/pq/issues/1240";>#1240</a>).</p>
   </li>
   <li>
   <p>Support <code>hostaddr</code> and <code>$PGHOSTADDR</code> (<a 
href="https://redirect.github.com/lib/pq/issues/1243";>#1243</a>).</p>
   </li>
   <li>
   <p>Support multiple values in <code>host</code>, <code>port</code>, and 
<code>hostaddr</code>, which are each
   tried in order, or randomly if <code>load_balance_hosts=random</code> is set 
(<a href="https://redirect.github.com/lib/pq/issues/1246";>#1246</a>).</p>
   </li>
   <li>
   <p>Support <code>target_session_attrs</code> connection parameter (<a 
href="https://redirect.github.com/lib/pq/issues/1246";>#1246</a>).</p>
   </li>
   <li>
   <p>Support [<code>sslnegotiation</code>] to use SSL without negotiation (<a 
href="https://redirect.github.com/lib/pq/issues/1180";>#1180</a>).</p>
   </li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/lib/pq/commit/eec526cee8f50c61b6294a8299e3ae358ab28d7b";><code>eec526c</code></a>
 Release v1.11.1 (<a 
href="https://redirect.github.com/lib/pq/issues/1255";>#1255</a>)</li>
   <li><a 
href="https://github.com/lib/pq/commit/1928a1d75260e84d8e4422cf91252cb7577e4fcf";><code>1928a1d</code></a>
 Fix []byte types incorrectly converted to PostgreSQL array (<a 
href="https://redirect.github.com/lib/pq/issues/1252";>#1252</a>)</li>
   <li><a 
href="https://github.com/lib/pq/commit/9e2aa8e7b098fe3d2743826ffb6bd41db13fac28";><code>9e2aa8e</code></a>
 Run staticcheck on all GOOS/GOARCH combinations</li>
   <li><a 
href="https://github.com/lib/pq/commit/c9320c42e8721adae182adf2ee3eda3708844ac8";><code>c9320c4</code></a>
 Fix build on Windows and Plan9</li>
   <li><a 
href="https://github.com/lib/pq/commit/28095269d64d6d501a0e1341e3559755b556e39e";><code>2809526</code></a>
 Fix build on 32bit systems</li>
   <li><a 
href="https://github.com/lib/pq/commit/8e88f7e928ecc429c45050e378b751c232a35981";><code>8e88f7e</code></a>
 Release 1.11.0</li>
   <li><a 
href="https://github.com/lib/pq/commit/0ad30496f8aa96a983fce5490ba050523d8fc5d1";><code>0ad3049</code></a>
 Handle pre-protocol errors to prevent memory exhaustion</li>
   <li><a 
href="https://github.com/lib/pq/commit/f1fae2ee3828fe6e103c0ec4dfcb568d906e5cb6";><code>f1fae2e</code></a>
 Add pqtest.Fake.Close()</li>
   <li><a 
href="https://github.com/lib/pq/commit/3815d03993a59ea6ffd0206a5dae62913c6ce877";><code>3815d03</code></a>
 Remove assumption that the auth response is AuthenticateOk</li>
   <li><a 
href="https://github.com/lib/pq/commit/589ad43c7e1f33330cf8f461d2ffca19785f1110";><code>589ad43</code></a>
 Implement load_balance_hosts=random</li>
   <li>Additional commits viewable in <a 
href="https://github.com/lib/pq/compare/v1.10.9...v1.11.1";>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.10.9&new-version=1.11.1)](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 merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to