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)
commit0a0a0f2c594db57f6e77a753315284778c0f5c97
tree0f7c33243ee24aed58fc873b83de74301d5c9c9b
parent787bd3dde20c4f651210f47974859fa00221ac5e
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