Re: COMMUTATOR doesn't seem to work

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COMMUTATOR doesn't seem to work
Дата
Msg-id 229.1340338927@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 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:
> On 12-06-21 12:18 PM, Tom Lane wrote:
>> 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.

> I guess I am missing the point of COMMUTATOR then.  The docs say "When
> you are defining a self-commutative operator, you just do it."  It
> seems you need to do more than "just do it.

Um, an operator with different types on left and right cannot be its own
commutator.
        regards, tom lane


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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Skip checkpoint on promoting from streaming replication
Следующее
От: D'Arcy Cain
Дата:
Сообщение: Re: COMMUTATOR doesn't seem to work