Mario Weilguni <mweilguni(at)sime(dot)com> writes:
> Sorry to bother you with this question, but I've found a bug with operators:
Operators backed by SQL-language functions aren't supported in 7.0 (nor
any previous version). You should be able to do this in plpgsql though.
This restriction is fixed for 7.1 btw...
regards, tom lane