Skip site navigation (1) Skip section navigation (2)

Re: Status of Fix Domain Casting TODO

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Status of Fix Domain Casting TODO
Date: 2007-01-02 00:30:40
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Tom Lane wrote:
> "Jim C. Nasby" <jim(at)nasby(dot)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.

This might be less of an issue if we allowed such IO functions to be
written in a loadable PL rather than in C.



In response to


pgsql-hackers by date

Next:From: Jeremy DrakeDate: 2007-01-02 00:42:19
Subject: float8 width_bucket function
Previous:From: Andrew DunstanDate: 2007-01-02 00:26:55
Subject: Re: 8.3 pending patch queue

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group