doc: fix ALTER DOMAIN domain_constraint to spell out options
authorBruce Momjian <bruce@momjian.us>
Fri, 1 Nov 2024 17:54:28 +0000 (13:54 -0400)
committerBruce Momjian <bruce@momjian.us>
Fri, 1 Nov 2024 17:54:28 +0000 (13:54 -0400)
commit4200fea80e79851994b8eb5a64a3d4420456c977
tree22977d6d1e087a666fa2a3babaa78b05eabd51e4
parent94a8c19eed6cdaffad8939a41ed89e3c6afa7c94
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: elionescu@yahoo.com
Discussion: https://postgr.es/m/172225092461.915373.6103973717483380183@wrigleys.postgresql.org

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