]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add compiler support for PostgreSQL "NOT VALID" constraints.
authorGilbert Gilb's <gilbsgilbert@gmail.com>
Sun, 23 Jan 2022 18:00:35 +0000 (13:00 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 27 Jan 2022 03:23:39 +0000 (22:23 -0500)
commitdc5f111bc51bdc0720c2d52547339479e01619a6
tree500bc78c18df36abc9e6a0dc17f87e3e9fedfc81
parent71248e34befe26f3c116dd52d782c519a5022168
Add compiler support for PostgreSQL "NOT VALID" constraints.

Added compiler support for the PostgreSQL ``NOT VALID`` phrase when rendering
DDL for the :class:`.CheckConstraint`, :class:`.ForeignKeyConstraint`
and :class:`.ForeignKey` schema constructs.  Pull request courtesy
Gilbert Gilb's.

Fixes: #7600
Closes: #7601
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7601
Pull-request-sha: 78eecd55fd9fad07030d963f5fd6713c4af60e80

Change-Id: I84bfe84596856eeea2bcca45c04ad23d980a75ec
(cherry picked from commit 77dd6808f250e0431f9bce824f46f6e1ef63eef3)
doc/build/changelog/unreleased_14/7600.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_compiler.py