Skip to content

Amazon: Make psycopg (v3) the default synchronous Postgres driver#69483

Closed
Dev-iL wants to merge 1 commit into
apache:mainfrom
Dev-iL:psycopg3-sync-amazon-docs
Closed

Amazon: Make psycopg (v3) the default synchronous Postgres driver#69483
Dev-iL wants to merge 1 commit into
apache:mainfrom
Dev-iL:psycopg3-sync-amazon-docs

Conversation

@Dev-iL

@Dev-iL Dev-iL commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

related:

Several setup guides hardcode postgresql+psycopg2:// as example connection strings for the metadata DB. Since providers/postgres will no longer bundle psycopg2-binary once #69474 lands, these stale examples would break for anyone following them as-is.

This PR has no prereqs because psycopg v3 is available by default as of #69089.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

The Batch, ECS, and Lambda executor setup guides hardcoded example
postgresql+psycopg2:// connection strings for the metadata DB. Since
providers/postgres no longer bundles psycopg2-binary by default, these
stale examples would break for anyone following them as-is. Update
them to the new postgresql+psycopg:// default.

Part of the migration tracked in apache#68453.
@Dev-iL Dev-iL requested a review from o-nikolas as a code owner July 6, 2026 16:04
@Dev-iL Dev-iL requested review from eladkal and shahar1 July 6, 2026 16:04
@Dev-iL Dev-iL closed this Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant