Tobia Conforto <tobia.conforto@gruppo4.eu> writes:
> Stated differently, is there a simple way to extend or "subclass" the builtin range_ops operator family, adding my
ownoperator to it, so that I can use it in an exclude index?
No. In a GIST opclass, the set of supported operator strategies is
determined by the code in the opclass support functions (primarily,
what the "consistent" function knows how to do). You'd have to go
fiddle with that C code before you could add a new operator to the
opclass.
regards, tom lane