On 2025-Mar-11, jian he wrote:
> but it's better to align CREATE DOMAIN with ALTER DOMAIN.
> For example, the following two logic should behave the same.
>
> create domain d_int as int4 constraint nn1 not null initially immediate;
> alter domain d_int add constraint nn1 not null initially immediate;
Sure, they should.
> Also if we do not error out, then in the create_domain.sgml, alter_domain.sgml
> <synopsis> section we should include these "useless" keywords.
Yeah, I guess we should do that.
--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/