How to allow NULL value for one column in unique index on multiple columns How to allow NULL value for one column in unique index on multiple columns postgresql postgresql