Re: btree_gin and btree_gist for enums

Andrew Dunstan <adunstan@postgresql.org>

From: Andrew Dunstan <adunstan@postgresql.org>
To: pgsql-hackers@postgresql.org
Cc: Andrew Dunstan <adunstan@postgresql.org>
Date: 2016-11-23T00:31:12Z
Lists: pgsql-hackers
I won't have time to fix this before the end of the Commitfest

Commits

  1. Add btree_gin support for enum types

  2. Add btree_gist support for enum types.

  3. Use CallerFInfoFunctionCall with btree_gist for numeric types

  4. Add a direct function call mechanism using the caller's context.

  5. Add support for EUI-64 MAC addresses as macaddr8

  6. Add an Assert that enum_cmp_internal() gets passed an FmgrInfo pointer.