pgsql: Fix information schema for catalogued not-null constraints

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix information schema for catalogued not-null constraints
Date: 2023-09-18 06:15:13
Message-ID: E1qi7XM-004VCX-WC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix information schema for catalogued not-null constraints

The column check_constraints.check_clause should be like

col IS NOT NULL

without a surrounding CHECK (...).

Discussion: https://www.postgresql.org/message-id/09489196-0bc1-e796-c43e-63425f7c5910@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a0a5e0feb35c1209e340046dc4e40af3b0e79d59

Modified Files
--------------
src/backend/catalog/information_schema.sql | 2 +-
src/include/catalog/catversion.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-09-18 13:08:26 pgsql: doc: Add example for how to set file_fdw column option
Previous Message Peter Eisentraut 2023-09-18 05:30:35 pgsql: Make Unicode script fit for future versions