>>>>> "Jeff" == Jeff Janes <jeff.janes@gmail.com> writes:
Jeff> From: https://www.postgresql.org/docs/9.4/static/sql-createtable.html
Jeff> "The access method must support amgettuple (see Chapter 55); atJeff> present this means GIN cannot be used.
Althoughit's allowed, there isJeff> little point in using B-tree or hash indexes with an exclusionJeff> constraint,
becausethis does nothing that an ordinary uniqueJeff> constraint doesn't do better. So in practice the access method
willJeff>always be GiST or SP-GiST."
I also recently found a case where using btree exclusion constraints was
useful: a unique index on an expression can't be marked deferrable, but
the equivalent exclusion constraint can be.
--
Andrew (irc:RhodiumToad)