hamann.w@xxxxxxxxxxx writes: > declaring another operator class helped. At first, however, > results were sorted deifferent than expected. A little gdb session revealed that > if fact only the FUNCTION 1 entry in the operator class is used Well, yeah, the function had better match the operators. 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