Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: psycopg/psycopg
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.3.2
Choose a base ref
...
head repository: psycopg/psycopg
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.3.3
Choose a head ref
  • 20 commits
  • 64 files changed
  • 7 contributors

Commits on Dec 6, 2025

  1. Configuration menu
    Copy the full SHA
    780421c View commit details
    Browse the repository at this point in the history
  2. chore(deps): bump the actions group with 2 updates

    Bumps the actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel).
    
    
    Updates `actions/checkout` from 5 to 6
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v5...v6)
    
    Updates `pypa/cibuildwheel` from 3.2.1 to 3.3.0
    - [Release notes](https://github.com/pypa/cibuildwheel/releases)
    - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
    - [Commits](pypa/cibuildwheel@v3.2.1...v3.3.0)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-version: '6'
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: actions
    - dependency-name: pypa/cibuildwheel
      dependency-version: 3.3.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and dvarrazzo committed Dec 6, 2025
    Configuration menu
    Copy the full SHA
    202eeed View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2025

  1. chore(ci): drop macos 13 jobs

    Runners closing down in Gitlab Action.
    dvarrazzo committed Dec 15, 2025
    Configuration menu
    Copy the full SHA
    c9c93a2 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2026

  1. chore(deps): bump the actions group with 2 updates

    Bumps the actions group with 2 updates: [actions/cache](https://github.com/actions/cache) and [actions/upload-artifact](https://github.com/actions/upload-artifact).
    
    
    Updates `actions/cache` from 4 to 5
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@v4...v5)
    
    Updates `actions/upload-artifact` from 5 to 6
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v5...v6)
    
    ---
    updated-dependencies:
    - dependency-name: actions/cache
      dependency-version: '5'
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: actions
    - dependency-name: actions/upload-artifact
      dependency-version: '6'
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and dvarrazzo committed Jan 1, 2026
    Configuration menu
    Copy the full SHA
    fbe3995 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2026

  1. chore: update black to 26.1, re-lint codebase

    Much better, thank you!
    dvarrazzo committed Jan 21, 2026
    Configuration menu
    Copy the full SHA
    38b2a5b View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2026

  1. fix: retain pgconn on OperationalError

    When multiple connection attempts fail, a new OperationalError with the
    combined attempt errors is raised without retaining the pgconn attribute
    of the original attempt errors.  Fix this by assigning the pgconn from
    the last attempt error.
    ewie authored and dvarrazzo committed Jan 25, 2026
    Configuration menu
    Copy the full SHA
    b5573ec View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1247 from ewie/fix-operationerror-pgconn

    fix: retain pgconn on OperationalError
    dvarrazzo authored Jan 25, 2026
    Configuration menu
    Copy the full SHA
    0cd7734 View commit details
    Browse the repository at this point in the history
  3. Use critical section to protect pgconn ptr

    This PR adds critical sections to the PGconn class so that
    race condition between calling into the libpq bindings and
    calling `close` which sets the `_pgconn_ptr` to NULL are
    eliminated.
    
    Also add one high-level and one low-level tests that trigger TSAN
    warnings without this PR.
    lysnikolaou authored and dvarrazzo committed Jan 25, 2026
    Configuration menu
    Copy the full SHA
    33fb9fc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    685df84 View commit details
    Browse the repository at this point in the history
  5. Use the walrus operator

    lysnikolaou authored and dvarrazzo committed Jan 25, 2026
    Configuration menu
    Copy the full SHA
    3646a02 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d7dc6c7 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2026

  1. Merge pull request #1233 from lysnikolaou/pgconn-critical-section

    Use critical section to protect pgconn ptr
    dvarrazzo authored Jan 31, 2026
    Configuration menu
    Copy the full SHA
    f5d90fa View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2026

  1. chore(deps): bump pypa/cibuildwheel in the actions group

    Bumps the actions group with 1 update: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel).
    
    
    Updates `pypa/cibuildwheel` from 3.3.0 to 3.3.1
    - [Release notes](https://github.com/pypa/cibuildwheel/releases)
    - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
    - [Commits](pypa/cibuildwheel@v3.3.0...v3.3.1)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/cibuildwheel
      dependency-version: 3.3.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and dvarrazzo committed Feb 1, 2026
    Configuration menu
    Copy the full SHA
    86a0e1b View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2026

  1. fix: correct typo in tstrings error message and fix sql.rst docs

    - Fix error message in _tstrings.py: reference nonexistent "sql.Composite"
      corrected to "sql.Composable" (the actual base class)
    - Fix docs/api/sql.rst: remove incorrect escape_identifier() example that
      passed a str where bytes is required (closes #421)
    - Fix typo "re-exoprts" -> "re-exports" in conninfo.py
    
    Co-Authored-By: Claude Opus 4.6
    
    Note: this MR is AI slop which has been pushed by the author without
    even considering if it was correct. Corrected by a human being in the
    next commit on this branch.
    veeceey authored and dvarrazzo committed Feb 11, 2026
    Configuration menu
    Copy the full SHA
    0db9d8b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e74d96 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1256 from veeceey/fix/tstrings-error-msg-and-docs…

    …-improvements
    
    Fix typo in tstrings error message and incorrect escape_identifier docs example
    dvarrazzo authored Feb 11, 2026
    Configuration menu
    Copy the full SHA
    09c8918 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2026

  1. docs: fix typos

    Close #1258
    JohnnyDeuss authored Feb 17, 2026
    Configuration menu
    Copy the full SHA
    cb97ef7 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2026

  1. Fix ValueError when server sends ErrorResponse during Sync after Parse

    When using prepared statements, psycopg sends Parse+Sync via
    PQsendPrepare and assumes libpq returns exactly one PGresult.
    However, the PostgreSQL wire protocol allows ErrorResponse during
    Sync processing (e.g., when an implicit transaction commit fails).
    In this case, libpq returns two PGresult objects — one for the
    successful ParseComplete and one for the ErrorResponse — causing
    a ValueError: "too many values to unpack (expected 1)".
    
    This commit handles multiple results from PQsendPrepare by
    iterating over all returned results and checking each for errors,
    consistent with how the non-prepare execute path already works.
    ggevay committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    0237586 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1260 from ggevay/sync-error-fix

    Fix ValueError when server sends ErrorResponse during Sync after Parse
    dvarrazzo authored Feb 18, 2026
    Configuration menu
    Copy the full SHA
    db3c435 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1a8f65a View commit details
    Browse the repository at this point in the history
Loading