Bruce Momjian <bruce(at)momjian(dot)us> writes:
> Uh, if we fixed this for NULL optimization and backpatched, should we do
> the same for:
> Parameter NOT NULL to CREATE DOMAIN not the same as CHECK (VALUE IS NOT NULL)
> https://www.postgresql.org/message-id/flat/173591158454.714.7664064332419606037%40wrigleys.postgresql.org
This is unrelated to that.
regards, tom lane