Re: [HACKERS] type coerce problem with lztext
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jan Wieck <wieck@debis.com>
Cc: PostgreSQL HACKERS <pgsql-hackers@postgreSQL.org>
Date: 2000-02-27T17:55:45Z
Lists: 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