Is unique composite index as effective as non-composite for queries on first column? – Postgresql
I have a table with b-tree index on column A (non-unique). Now I want to add a check for uniqueness of column A and column B combination when inserting, so I want to add a unique composite index (A, B).…