Search Postgresql Archives

Re: Exclude constraint using custom operator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tobia Conforto <tobia.conforto@xxxxxxxxxx> writes:
> Stated differently, is there a simple way to extend or "subclass" the builtin range_ops operator family, adding my own operator 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


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux