Re: User defined I/O conversion casts - Mailing list pgsql-hackers

From Tom Lane
Subject Re: User defined I/O conversion casts
Date
Msg-id 6138.1220022407@sss.pgh.pa.us
Whole thread Raw
In response to User defined I/O conversion casts  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: User defined I/O conversion casts  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Re: User defined I/O conversion casts  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> 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


pgsql-hackers by date:

Previous
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: Proposal: new border setting in psql
Next
From: Tom Lane
Date:
Subject: Re: New FSM allocation policy