In this post, I am sharing a solution on how to allow only single NULL record in the UNIQUE Constraint Column of PostgreSQL. PostgreSQL: Composite UNIQUE Constraint does not consider NULL Values Once you define the UNIQUE constraint, you can insert N number of NULL values for that column which is the principal rule of […]