Assume the following table:
CREATE TABLE zoo (
cage INTEGER,
animal TEXT,
);
Is there a real, effective difference between:
ALTER TABLE zoo ADD CONSTRAINT x EXCLUDE USING gist (cage WITH =, animal WITH =)
and:
CREATE UNIQUE INDEX ON zoo(cage, animal)
?