Re: Overloading '<' operator

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Overloading '<' operator
Дата
Msg-id 29511.1093964928@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Overloading '<' operator  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Joe Maldonado
Дата:
Сообщение: sequences in schemas
Следующее
От: Dennis Gearon
Дата:
Сообщение: functions/stored procedures