Skip to content

Sync examples from connectors#884

Merged
praba2210 merged 2 commits intomainfrom
sync/connectors
Apr 22, 2026
Merged

Sync examples from connectors#884
praba2210 merged 2 commits intomainfrom
sync/connectors

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated sync from connector repos

@github-actions github-actions Bot enabled auto-merge (squash) April 10, 2026 18:21
@github-actions github-actions Bot force-pushed the sync/connectors branch 16 times, most recently from 6476bc0 to 32a4138 Compare April 17, 2026 06:41
@github-actions github-actions Bot force-pushed the sync/connectors branch 8 times, most recently from 1d3f069 to 07ce1a4 Compare April 22, 2026 00:23
github-actions Bot pushed a commit that referenced this pull request Apr 22, 2026
…python/psycopg (#955)

Updates the requirements on
[psycopg-pool](https://github.com/psycopg/psycopg) to permit the latest
version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/psycopg/psycopg/blob/master/docs/news.rst">psycopg-pool's
changelog</a>.</em></p>
<blockquote>
<h2>Psycopg 3.3.0</h2>
<p>.. rubric:: New top-level features</p>
<ul>
<li>Add :ref:<code>template strings queries
\&lt;template-strings&gt;</code>
(🎫<code>[#1054](https://github.com/psycopg/psycopg/issues/1054)</code>).</li>
<li>More flexible :ref:<code>composite
adaptation&lt;adapt-composite&gt;</code>: it is now possible
to adapt Python objects to PostgreSQL composites and back even if they
are not
sequences or if they take keyword arguments
(🎫<code>[#932](https://github.com/psycopg/psycopg/issues/932)</code>,
:ticket:<code>[#1202](https://github.com/psycopg/psycopg/issues/1202)</code>).</li>
<li>Cursors are now iterators_, not just iterables_. This means you can
call
<code>next</code>\ <code>(cur)</code> or <code>anext</code>\
<code>(cur)</code>, which is useful as a :ref:<code>type-safe expression
&lt;typing-fetchone&gt;</code>
(🎫<code>[#1064](https://github.com/psycopg/psycopg/issues/1064)</code>).</li>
<li>Add <code>Cursor.set_result()</code> and
<code>Cursor.results()</code> to move across the result
sets of queries executed though <code>~Cursor.executemany()</code> or
<code>~Cursor.execute()</code> with multiple statements
(:tickets:<code>[#1080](psycopg/psycopg#1080),
[#1170](https://github.com/psycopg/psycopg/issues/1170)</code>).</li>
<li>Add :ref:<code>transaction-status</code> to report the status during
and after a
<code>~Connection.transaction()</code> block
(🎫<code>[#969](https://github.com/psycopg/psycopg/issues/969)</code>).</li>
<li>Allow to change loaders using
<code>~adapt.AdaptersMap.register_loader()</code> on
<code>Cursor.adapters</code> after a query result has been already
returned

(:ticket:<code>[#884](https://github.com/psycopg/psycopg/issues/884)</code>).</li>
</ul>
<p>.. rubric:: New libpq wrapper features</p>
<ul>
<li>Add <code>pq.PGconn.used_gssapi</code> attribute and
<code>Capabilities.has_used_gssapi()</code>
function
(:ticket:<code>[#1138](https://github.com/psycopg/psycopg/issues/1138)</code>).</li>
<li>Add <code>ConnectionInfo.full_protocol_version</code> attribute,
<code>Capabilities.has_full_protocol_version()</code> function
(:ticket:<code>[#1079](https://github.com/psycopg/psycopg/issues/1079)</code>).</li>
</ul>
<p>.. rubric:: Other changes</p>
<ul>
<li>
<p>Disable default GSSAPI preferential connection in the binary package

(:ticket:<code>[#1136](https://github.com/psycopg/psycopg/issues/1136)</code>).</p>
<p>.. warning::</p>
<p>Please explicitly set the gssencmode_ connection parameter or the
:envvar:<code>PGGSSENCMODE</code> environment variable to interact
reliably with the
GSSAPI.</p>
</li>
<li>
<p>Drop support for Python 3.8
(:ticket:<code>[#976](https://github.com/psycopg/psycopg/issues/976)</code>)
and 3.9
(:ticket:<code>[#1056](https://github.com/psycopg/psycopg/issues/1056)</code>).</p>
</li>
</ul>
<p>.. _iterators: <a
href="https://docs.python.org/3/glossary.html#term-iterator">https://docs.python.org/3/glossary.html#term-iterator</a>
.. _iterables: <a
href="https://docs.python.org/3/glossary.html#term-iterable">https://docs.python.org/3/glossary.html#term-iterable</a></p>
<p>Psycopg 3.2.13
^^^^^^^^^^^^^^</p>
<ul>
<li>Show the host name in the error message in case of name resolution
error

(:ticket:<code>[#1205](https://github.com/psycopg/psycopg/issues/1205)</code>).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/psycopg/psycopg/commit/2322a9a9d445da6cd049683e91f2df3702357182"><code>2322a9a</code></a>
chore: bump psycopg package version to 3.3.0</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/6e3b32a7adb8d99297d4904b0ed57390bf057d51"><code>6e3b32a</code></a>
fix: mark new register_composite() args as keyword only</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/1accac9a7c185c2f3f84720deec41908346cc04f"><code>1accac9</code></a>
Merge pull request <a
href="https://redirect.github.com/psycopg/psycopg/issues/1222">#1222</a>
from dvarrazzo/fix/composite-adapt-info</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/fdda4d13cb86c77af4335ff7a013e66350cc6e4d"><code>fdda4d1</code></a>
fix(composite): pass the entire info object to the custom functions</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/5262402e753af6a38b571de8f59841d3e98fae4a"><code>5262402</code></a>
fix)composite): rename make_instance to make_object</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/2c0a1b2fdbe535328f90db0ab473d052c75f8f96"><code>2c0a1b2</code></a>
chore: bump Mypy min required version to 1.19</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/90f8606eefd3cd1de76934ca307899c9ff5cf55b"><code>90f8606</code></a>
docs: 3.3 release notes cleanup and other small fixes</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/e016fd8354190f03a1471e7b84564e32e4b7dc7d"><code>e016fd8</code></a>
test: add free-threading-specific tests</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/71372ea9c1df1aa3aaecb2f3183c75e4f93869ca"><code>71372ea</code></a>
Merge pull request <a
href="https://redirect.github.com/psycopg/psycopg/issues/1220">#1220</a>
from dvarrazzo/feat/add-as-string</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/f88efc716b5099490b533a99a29dfb141ac14321"><code>f88efc7</code></a>
docs: drop cautionary warnings about t-strings</li>
<li>Additional commits viewable in <a
href="https://github.com/psycopg/psycopg/compare/3.0...3.3.0">compare
view</a></li>
</ul>
</details>
<br />

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@praba2210 praba2210 disabled auto-merge April 22, 2026 02:48
Update rust/sqlx binary and test configuration to match the
connector repo structure with example_preferred.rs instead of main.rs
@praba2210 praba2210 enabled auto-merge (squash) April 22, 2026 03:48
@praba2210 praba2210 merged commit 15752c2 into main Apr 22, 2026
49 checks passed
@praba2210 praba2210 deleted the sync/connectors branch April 22, 2026 04:10
amaksimo pushed a commit that referenced this pull request Apr 22, 2026
Updates the Rust SQLx README to reflect that the example uses the Aurora
DSQL SQLx Connector library (synced in PR #884).

**Description iof changes:**
- Document both examples (`example_preferred` and
`example_no_connection_pool`)
- Add specific run commands: `cargo run --bin <binary>` and `cargo test`
- Remove `REGION` environment variable (connector extracts from
endpoint)
- Add Aurora DSQL SQLx Connector documentation link

Aligns documentation with the code changes from PR #884.

Issues, if any:
N/A

By submitting this pull request, I confirm that my contribution is made
under
the terms of the MIT-0 license.

Thank you for your contribution!

Co-authored-by: Prabakaran Annadurai <prabaw@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant