]> 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:22:14 +0000 (22:22 -0500)
commit77dd6808f250e0431f9bce824f46f6e1ef63eef3
tree2e2eb137c18994d707ff27cd9d3dfb4163bdea8a
parent321f64f71e7ecc7404da9b95e2e0aa1d692ac181
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
doc/build/changelog/unreleased_14/7600.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_compiler.py