Conversation
fb8bf5f to
524b775
Compare
524b775 to
d4a814b
Compare
- Python psycopg/psycopg2: Use aurora-dsql-python-connector - JavaScript node-postgres: Use @aws/aurora-dsql-node-postgres-connector - JavaScript postgres-js: Use @aws/aurora-dsql-postgresjs-connector - Update READMEs to reference connector documentation
d4a814b to
b58ae6d
Compare
danielfrankcom
approved these changes
Dec 20, 2025
amaksimo
pushed a commit
that referenced
this pull request
Dec 23, 2025
Restructures Python, JavaScript, and Java examples with example_preferred as the golden path (concurrent connection pool + connector). - Python/JS: Copied pool examples from connector repos, restored SDK-only from pre-#221 - Java: Merged pgjdbc_hikaricp into pgjdbc, restored SDK-only from pre-#198 - Added README in each alternatives/ folder explaining why pool+connector is preferred - Added smoke tests for all examples
amaksimo
pushed a commit
that referenced
this pull request
Dec 23, 2025
Restructures Python, JavaScript, and Java examples with example_preferred as the golden path (pool + connector). - Python/JS: Copied pool examples from connector repos, restored SDK-only from pre-#221 - Java: Merged pgjdbc_hikaricp into pgjdbc, restored SDK-only from pre-#198 - Added README in each alternatives/ folder - Added smoke tests for all examples
amaksimo
pushed a commit
that referenced
this pull request
Dec 23, 2025
Restructures Python, JavaScript, and Java examples with example_preferred as the golden path (pool + connector). - Python/JS: Copied pool examples from connector repos, restored SDK-only from pre-#221 - Java: Merged pgjdbc_hikaricp into pgjdbc, restored SDK-only from pre-#198 - Added README in each alternatives/ folder - Added smoke tests for all examples
amaksimo
added a commit
that referenced
this pull request
Dec 23, 2025
Restructures Python, JavaScript, and Java examples with example_preferred as the golden path (pool + connector). - Python/JS: Copied pool examples from connector repos, restored SDK-only from pre-#221 - Java: Merged pgjdbc_hikaricp into pgjdbc, restored SDK-only from pre-#198 - Added README in each alternatives/ folder - Added smoke tests for all examples Following: ``` <language>/<driver>/ ├── README.md ├── <config files> ├── src/ │ ├── example_preferred.<ext> # Synced from connector (pool concurrent if available) │ └── alternatives/ │ ├── no_connection_pool/ │ │ ├── example_with_no_connector.<ext> # SDK-based, lives only in samples │ │ └── example_with_no_connection_pool.<ext> # Synced from connector │ └── pool/ │ └── <other pool variants> # Synced from connector └── test/ └── <matching test structure> ``` Co-authored-by: Aleksandar Maksimovic <alemaksi@amazon.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates Python and JavaScript driver samples to use the official DSQL connectors instead of manual SDK token generation.
Changes
Python
aurora-dsql-python-connectorwithaurora_dsql_psycopgaurora-dsql-python-connectorwithaurora_dsql_psycopg2JavaScript
@aws/aurora-dsql-node-postgres-connector@aws/aurora-dsql-postgresjs-connectorDocumentation
Testing
All samples tested against live DSQL cluster.