Re: COMMUTATOR doesn't seem to work

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COMMUTATOR doesn't seem to work
Дата
Msg-id 27084.1340295516@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COMMUTATOR doesn't seem to work  (D'Arcy Cain <darcy@druid.net>)
Ответы Re: COMMUTATOR doesn't seem to work  (D'Arcy Cain <darcy@druid.net>)
Список pgsql-hackers
"D'Arcy Cain" <darcy@druid.net> writes:
> Maybe I am using it wrong but I get no error message when I use it.  I
> have a type called chkpass (a version is in the additional supplied
> modules) and I create the equality operator like this:

> CREATE OPERATOR = (
>          PROCEDURE = eq,
>          LEFTARG = chkpass,
>          RIGHTARG = text,
>          COMMUTATOR = =,
>          NEGATOR = <>
> );

Did you actually create a "text = chkpass" function and operator?
This declaration merely promises that you will provide one eventually.
The system does not have the ability to make one for you.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Edmon Begoli
Дата:
Сообщение: Re: Reseting undo/redo logs
Следующее
От: Florian Pflug
Дата:
Сообщение: Re: COMMUTATOR doesn't seem to work