Skip to content

add support for psycopg3 syntax - #2

Merged
Redevil10 merged 3 commits into
mainfrom
support_psycopg3
Oct 21, 2026
Merged

Redevil10 merged 3 commits into
mainfrom
support_psycopg3

Conversation

@Redevil10

Copy link
Copy Markdown
Owner

No description provided.

@codecov

codecov Bot commented Oct 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No blocking defects were identified; the remaining test-boundary correction is non-blocking.

1 open issue
What changed in this PR

Adds psycopg3 support to the PostgreSQL–CSV operators while retaining psycopg2 compatibility.

Changes:

  • Adds driver-compatible parameter binding, timeouts, and streaming COPY.
  • Adds compatibility tests and Python 3.14 CI coverage.
  • Documents driver support and bumps the version to 0.4.1.
File Description
tests/​test_operators.py Adds psycopg3 compatibility tests.
src/​airflow_postgres_csv/​operators.py Supports both drivers for SQL and COPY operations.
src/​airflow_postgres_csv/​__init__.py Updates package version.
README.md Documents driver and Python support.
pyproject.toml Bumps release version to 0.4.1.
.github/​workflows/​test.yml Adds Python 3.14 and moves coverage upload.

Review effort: Balanced

Comment thread tests/test_operators.py Outdated
@Redevil10
Redevil10 merged commit 786cc1f into main Oct 21, 2026
14 checks passed
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.

2 participants