pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Catalog domain not-null constraints
Date: Wed, 20 Mar 2024 09:20:09 +0000
Message-ID: <E1rms7F-004kCT-C0@gemulon.postgresql.org> (raw)

Catalog domain not-null constraints

This applies the explicit catalog representation of not-null
constraints introduced by b0e96f3119 for table constraints also to
domain not-null constraints.

Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>
Reviewed-by: jian he <jian.universality@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/9ec24d7b-633d-463a-84c6-7acff769c9e8%40eisentraut.org

Branch
------
master

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

Modified Files
--------------
src/backend/catalog/information_schema.sql |   2 +-
src/backend/catalog/pg_constraint.c        |  44 ++++
src/backend/commands/typecmds.c            | 335 +++++++++++++++++++++--------
src/backend/utils/adt/ruleutils.c          |  22 +-
src/backend/utils/cache/typcache.c         |   2 +-
src/bin/pg_dump/pg_dump.c                  |   2 +-
src/include/catalog/catversion.h           |   2 +-
src/include/catalog/pg_constraint.h        |   1 +
src/test/regress/expected/domain.out       |  62 ++++--
src/test/regress/sql/domain.sql            |  29 +++
10 files changed, 386 insertions(+), 115 deletions(-)



Message-ID: <E1rms7F-004kCT-C0@gemulon.postgresql.org>
Permalink:  ../E1rms7F-004kCT-C0@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rms7F-004kCT-C0@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Catalog domain not-null constraints
  In-Reply-To: <E1rms7F-004kCT-C0@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox