Re: cataloguing NOT NULL constraints - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: cataloguing NOT NULL constraints
Date
Msg-id 20230828154455.pfihomnzwqvb4yrz@alvherre.pgsql
Whole thread Raw
In response to Re: cataloguing NOT NULL constraints  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On 2023-Aug-28, Peter Eisentraut wrote:

> It looks like we forgot about domain constraints?  For example,
> 
> create domain testdomain as int not null;
> 
> should create a row in pg_constraint?

Well, at some point I purposefully left them out; they were sufficiently
different from the ones in tables that doing both things at the same
time was not saving any effort.  I guess we could try to bake them in
now.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"Doing what he did amounts to sticking his fingers under the hood of the
implementation; if he gets his fingers burnt, it's his problem."  (Tom Lane)



pgsql-hackers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: Commitfest manager for September
Next
From: Matthias van de Meent
Date:
Subject: Re: Disabling Heap-Only Tuples