Re: [HACKERS] type coerce problem with lztext

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] type coerce problem with lztext
Дата
Msg-id 4731.951674145@sss.pgh.pa.us
обсуждение исходный текст
Ответ на type coerce problem with lztext  (wieck@debis.com (Jan Wieck))
Список pgsql-hackers
wieck@debis.com (Jan Wieck) writes:
>     There are functions text(lztext) and  lztext(text)  too,  but
>     the  system  is  unable  to  find an operator if one compares
>     text=lztext in a query. IIRC, creating a  function  named  as
>     the target type and taking the source type is what made auto-
>     type-conversion work - so what am I missing here?

I'll take a look.  I think the key may be teaching TypeCategory
to know that lztext is a member of the text type class.
        regards, tom lane


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

Предыдущее
От: Don Baccus
Дата:
Сообщение: Re: [HACKERS] type coerce problem with lztext
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: [HACKERS] ALTER TABLE DROP COLUMN