]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Support reflecting no inherit check constraint in pg.
authorEllis Valentiner <ellisvalentiner@gmail.com>
Mon, 8 Jan 2024 16:16:21 +0000 (11:16 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 11 Jan 2024 16:58:03 +0000 (11:58 -0500)
commit890b84e1693ce702ef0e20046cadc6e741274013
treee1a63e443a1705314c07d9998c58a95dacaf3232
parent071d3e2d2b11a96fc5a143530357244177259189
Support reflecting no inherit check constraint in pg.

Added support for reflection of PostgreSQL CHECK constraints marked with
"NO INHERIT", setting the key ``no_inherit=True`` in the reflected data.
Pull request courtesy Ellis Valentiner.

Fixes: #10777
Closes: #10778
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/10778
Pull-request-sha: 058082ff6297f9ccdc4977e65ef024e9a093426e

Change-Id: Ia33e29c0c57cf0076e8819311f4628d712fdc332
doc/build/changelog/unreleased_20/10777.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_reflection.py