diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-24 16:56:44 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-24 19:25:59 -0500 |
| commit | 377f12696bb1af17bb14f676a49ef21428d537d3 (patch) | |
| tree | 6404ec58d222434282b577b992c88928db3ae9c1 /lib/sqlalchemy/sql/compiler.py | |
| parent | 99b7dd4512364f1f1f11212fd87355ea098a93a6 (diff) | |
| download | sqlalchemy-377f12696bb1af17bb14f676a49ef21428d537d3.tar.gz | |
Use pg_get_constraintdef for CHECK constraint reflection
Revised the query used when reflecting CHECK constraints to make use of the
``pg_get_constraintdef`` function, as the ``consrc`` column is being
deprecated in PG 12. Thanks to John A Stevenson for the tip.
Fixes: #4463
Change-Id: Ie0ee9bdfddb0635db72b35c2e2e4b27f154162fd
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions
