doc: fix ALTER DOMAIN domain_constraint to spell out options
authorBruce Momjian <[email protected]>
Fri, 1 Nov 2024 17:54:27 +0000 (13:54 -0400)
committerBruce Momjian <[email protected]>
Fri, 1 Nov 2024 17:54:27 +0000 (13:54 -0400)
commitcd64941f6fcce3f0ca4c4c35f5304160fff2b3e6
tree696bd68f5eec7be0ed2163e65d0a653f4b4574a4
parentf5dbbc44f5bb420c3da80d07abf694df42efc61b
doc:  fix ALTER DOMAIN domain_constraint to spell out options

It used to refer to CREATE DOMAIN, but CREATE DOMAIN allows NULL, while
ALTER DOMAIN does not.

Reported-by: [email protected]
Discussion: https://postgr.es/m/172225092461.915373.6103973717483380183@wrigleys.postgresql.org

Backpatch-through: 12
doc/src/sgml/ref/alter_domain.sgml