tagged 'postgresql'

May 15, 2015
You can use a unique index to ensure only one occurance of a value but what do you do if you want to limit uniqueness to two rows instead of one? PostgreSQL's partial indexing can help. read more
May 15, 2015