Re: Does Type Have = Operator?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Does Type Have = Operator?
Дата
Msg-id e237af07-7efa-c0d7-8d82-2d05e2812e47@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Does Type Have = Operator?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-hackers
On 5/10/16 9:16 PM, David G. Johnston wrote:
> Brute force: you'd have to query pg_amop and note the absence of a row
> with a btree (maybe hash too...) family strategy 3 (1 for hash)
> [equality] where the left and right types are the same and match the
> type in question.

While these are good thoughts, the implementation of DISTINCT actually 
looks for an operator that is literally named "=".

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Robins Tharakan
Дата:
Сообщение: Re: Accurate list of Keywords / Datatypes?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Stopping logical replication protocol