]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix ExcludeConstraint not forwarding info to parent constructor
authorWiktorB2004 <byrka.w@gmail.com>
Wed, 20 May 2026 20:05:41 +0000 (16:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 20 May 2026 20:17:35 +0000 (16:17 -0400)
commite5b38d6826f4dca933c295b55cc59b5137d9796e
treefabab6cf9488fe7c10d679e6e192a685a7868a05
parentc7a33f44b661302cd461a255bfaeadbb0c38c434
Fix ExcludeConstraint not forwarding info to parent constructor

Fixed issue where the :class:`.ExcludeConstraint` construct did not
correctly forward the :paramref:`.ExcludeConstraint.info` parameter to
the superclass, causing user-defined metadata to be lost. Pull request
courtesy Wiktor Byrka.

Fixes: #13317
Closes: #13316
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/13316
Pull-request-sha: be7f4fee2c40d1986519e93145471faad61021af
Change-Id: Idc4846f02127d1d39a8c638cb03b0379932e9fd6
(cherry picked from commit cf2984c31d1f3edcfd26801a8ac560d95b52892e)
doc/build/changelog/unreleased_20/13317.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/ext.py
test/dialect/postgresql/test_compiler.py