Re: [HACKERS] type coerce problem with lztext - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] type coerce problem with lztext
Date
Msg-id 4731.951674145@sss.pgh.pa.us
Whole thread Raw
In response to type coerce problem with lztext  (wieck@debis.com (Jan Wieck))
List 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 by date:

Previous
From: Don Baccus
Date:
Subject: Re: [HACKERS] type coerce problem with lztext
Next
From: Hannu Krosing
Date:
Subject: Re: [HACKERS] ALTER TABLE DROP COLUMN