Re: Catalog domain not-null constraints - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Catalog domain not-null constraints
Date
Msg-id 318412bd-9691-4967-8c1b-9c4894fa69a6@eisentraut.org
Whole thread Raw
In response to Re: Catalog domain not-null constraints  (jian he <jian.universality@gmail.com>)
Responses Re: Catalog domain not-null constraints
List pgsql-hackers
On 19.03.24 10:57, jian he wrote:
> this new syntax need to be added into the alter_domain.sgml's synopsis and also
> need an explanation varlistentry?

The ALTER DOMAIN reference page refers to CREATE DOMAIN about the 
details of the constraint syntax.  I believe this is still accurate.  We 
could add more detail locally on the ALTER DOMAIN page, but that is not 
this patch's job.  For example, the details of CHECK constraints are 
also not shown on the ALTER DOMAIN page right now.

> +  false, /* connoinherit */
> +  false, /* conwithoutoverlaps */
> +  false); /* is_internal */
> 
> /* conwithoutoverlaps */
> should be
> /* conperiod */

Good catch, thanks.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Catalog domain not-null constraints
Next
From: Shubham Khanna
Date:
Subject: Re: speed up a logical replica setup