]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Support postgresql_include in UniqueConstraint and PrimaryKeyConstraint
authorDenis Laxalde <denis@laxalde.org>
Tue, 1 Apr 2025 17:30:48 +0000 (13:30 -0400)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 1 Apr 2025 21:58:08 +0000 (23:58 +0200)
commitfd506ea168a22853c4fdc1b6325e2a8c6b769a8d
tree36e7af6ee99de011d43b3b06aac8a20c35d6c6c8
parenta9411d95afe80f45b06080b74de56120c57e4dea
Support postgresql_include in UniqueConstraint and PrimaryKeyConstraint

This is supported both for schema definition and reflection.

Fixes #10665.

Closes: #12485
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/12485
Pull-request-sha: 1aabea7b55ece9fc0c6e069b777d4404ac01f964

Change-Id: I81d23966f84390dd1b03f0d13284ce6d883ee24e
(cherry picked from commit 3b7725dd1243134341cf1bfb331ed4501fc882e8)
doc/build/changelog/unreleased_20/10665.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/engine/reflection.py
lib/sqlalchemy/testing/suite/test_reflection.py
test/dialect/postgresql/test_compiler.py
test/dialect/postgresql/test_reflection.py