ParentFull threadlatch·Another benefit of partial indexes is to limit a unique constraint:create index users_email on users(email) where status != 'delete'View on HN