Prevent creation of duplicate not-null constraints for domains
This was previously harmless, but now that we create pg_constraint rows
for those, duplicates are not welcome anymore.
Backpatch to 18.
Co-authored-by: jian he
Co-authored-by: Álvaro Herrera
Discussion:
https://postgr.es/m/CACJufx
Prevent creation of duplicate not-null constraints for domains
This was previously harmless, but now that we create pg_constraint rows
for those, duplicates are not welcome anymore.
Backpatch to 18.
Co-authored-by: jian he
Co-authored-by: Álvaro Herrera
Discussion:
https://postgr.es/m/CACJufx