pgsql.hackers
[Top] [All Lists]

Re: User defined I/O conversion casts

Subject: Re: User defined I/O conversion casts
From: Tom Lane
Date: Fri, 29 Aug 2008 11:06:47 -0400
Newsgroups: pgsql.hackers

Heikki Linnakangas <heikki.linnakangas@xxxxxxxxxxxxxxxx> writes:
> Patch attached. I'm using a magic OID "1" in pg_cast.castfunc field to 
> mark these extra I/O conversion casts.

Ugh.  That's really unacceptable (doesn't it make the oidjoins
regression test fail?),

I think that as things stand at the moment, you can get I/O conversion
casts to work for a user-defined type by making it be of string
category.  Maybe that would be an easier way to get the effect.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy