Re: Status of Fix Domain Casting TODO - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Status of Fix Domain Casting TODO
Date
Msg-id 21051.1167692730@sss.pgh.pa.us
Whole thread Raw
In response to Status of Fix Domain Casting TODO  ("Jim C. Nasby" <jim@nasby.net>)
Responses Re: Status of Fix Domain Casting TODO  ("Andrew Dunstan" <andrew@dunslane.net>)
List pgsql-hackers
"Jim C. Nasby" <jim@nasby.net> writes:
> FWIW, I'm running into this trying to create a 'raw' domain that would
> automagically convert hex strings into actual binary data for storage in
> a bytea.

I think you've got 0 chance of implementing that as a domain rather than
an independent type.  Without or without revisions in the casting rules,
a domain has not got its own I/O functions, and never will.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Chris Browne
Date:
Subject: Re: TODO: GNU TLS
Next
From: Bruce Momjian
Date:
Subject: 8.3 pending patch queue