Re: [HACKERS] type coerce problem with lztext

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jan Wieck <wieck(at)debis(dot)com>
Cc: PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] type coerce problem with lztext
Date: 2000-02-27 17:55:45
Message-ID: 4731.951674145@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

wieck(at)debis(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-02-27 18:00:23 Is anyone working on pg_dump?
Previous Message Don Baccus 2000-02-27 15:34:07 Re: [HACKERS] type coerce problem with lztext