Re: comparison operators

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: comparison operators
Дата
Msg-id 10933.1403097878@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: comparison operators  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: comparison operators
Список pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> * Andrew Dunstan (andrew@dunslane.net) wrote:
>> I think I'd rather just say "for many data types" or something along
>> those lines, rather than imply that there is some obvious rule that
>> users should be able to intuit.

> Perhaps with a link to where the informaiton about which exist is
> available..?  Or a query to get the list?

Queries for this sort of thing are covered in the chapter about index
opclasses.  The basic query would be like

select opcintype::regtype from pg_opclass where opcmethod = 403 and opcdefault;

but I'm not sure if this is completely useful; it's not obvious for
example that the "text" opclass is also used for varchar.  Another
point is that some of the operators aren't named in the conventional
way.
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: WAL replay bugs
Следующее
От: Robert Haas
Дата:
Сообщение: Re: API change advice: Passing plan invalidation info from the rewriter into the planner?