I have a database I am importing and it has a unique index for a field that is null. In PostgreSQL 13 it was not an issue but in 14 it now longer allows the import as null is no longer null but a value.
Is there a setting where null is treated like it should be instead of as a value?
NULLS [NOT] DISTINCTto theCREATE INDEXstatement. See postgresql.org/docs/15/sql-createindex.html If you are using PostgreSQL 14 then the problem is elsewhere.