]> 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:20:32 +0000 (23:20 +0200)
commit3b7725dd1243134341cf1bfb331ed4501fc882e8
treea25656de187f15d1ceaf97592899844852781767
parent451225588f36cc9ab84ba6248599047a8717ca53
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
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