-
Notifications
You must be signed in to change notification settings - Fork 411
Support psycopg as a PostgreSQL driver #18999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
clokep
wants to merge
27
commits into
element-hq:develop
Choose a base branch
from
clokep:psycopg3
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
ecb20a4
Add psycopg package.
clokep c7e3120
Method to set statement timeout.
clokep 91ef287
Separate PostgresEngine into Psycopg2Engine and PsycopgEngine.
clokep 0a06be1
Run tests in CI against psycopg.
clokep 260a5b7
Update user directory to handle psycopg3.
clokep ce8ad96
Support execute_values on psycopg3.
clokep 93b1740
Fix-up simple_* tests.
clokep d49827d
Fix-up calls to end_to_end_keys.
clokep 287f0a6
Use superclass version of `executescript()` (#1)
realtyem 9f77ac4
Switch out formatting placeholder for what psycopg2 is expecting (#2)
realtyem 3bbd562
Merge remote-tracking branch 'upstream/develop' into psycopg3
clokep f5b6429
Linting (and a fix) (#3)
realtyem 7ff4584
Merge remote-tracking branch 'refs/remotes/origin/psycopg3' into psyc…
clokep 5353f8d
Try running complement builds?
clokep 1bec3d7
Merge branch 'develop' into psycopg3
realtyem f6c2364
Adjust type: ignore line to where mypy will apply it
realtyem 279791d
Add both PsycopgEngine and Psycopg2Engine to database.engines.__all__…
realtyem 1ceb332
Adjust _mark_state_groups_as_pending_deletion_txn() to use execute_ba…
realtyem 95eb7f8
Adjust set_profile_field() insertion sql for a narrower type on param…
realtyem 4ad733f
Try an update to the config schema?
realtyem f65a885
Adjust unit tests to reflect updated minimal versions of python/postgres
realtyem 425971f
Minor changes to profile field
clokep 61a3aaa
Merge remote-tracking branch 'upstream/develop' into psycopg3
clokep f31d8d2
Newsfragment
clokep ad229a9
Merge remote-tracking branch 'upstream/develop' into psycopg3
clokep 2f4352b
poetry lock again
clokep 467a8c4
Merge branch 'develop' into psycopg3
clokep File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we open a ticket about this as well. A solution might be to pass in an array and rely on
UNNEST, but that is something I'm more than happy to defer to later, it just would be nice to remember to do it