Re: Overloading '<' operator - Mailing list pgsql-general

From Tom Lane
Subject Re: Overloading '<' operator
Date
Msg-id 29511.1093964928@sss.pgh.pa.us
Whole thread Raw
In response to Re: Overloading '<' operator  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
Peter Eisentraut <peter_e@gmx.net> writes:
> Am Dienstag, 31. August 2004 15:18 schrieb Suresh Tri:
>> Can any one tell how to use the previous version of ooperator while
>> overloading one.

> Don't call the previous operator, call the function underlying the previous
> operator.

Or put them in different schemas and use a schema-qualified operator
reference (x operator(foo.<) y).  But if you actually *replace* the
previous definition of the operator, there's no way you can expect
to still be able to use it.

            regards, tom lane

pgsql-general by date:

Previous
From: Joe Maldonado
Date:
Subject: sequences in schemas
Next
From: Dennis Gearon
Date:
Subject: functions/stored procedures