I have a unique index column named "hash"
However when I run query:
SELECT *
FROM urls_0
WHERE hash = '\x0009cb31d8a6c0c64f6877c22a781804'::bytea
There are two rows and I can not reindex that index because of unique violation. What happen here. I'm using PostgreSQL 9.3.2
SELECT indexrelid::regclass, indisunique, indisvalid FROM pg_catalog.pg_index WHERE indrelid = 'urls_0'::regclass;