Re: [HACKERS] Status of Fix Domain Casting TODO

2007-01-05 Thread elein
On Tue, Jan 02, 2007 at 10:04:43AM -0500, Andrew Dunstan wrote: > Jim C. Nasby wrote: > >On Mon, Jan 01, 2007 at 06:30:40PM -0600, Andrew Dunstan wrote: > > > >>Tom Lane wrote: > >> > >>>"Jim C. Nasby" <[EMAIL PROTECTED]> writes: > >>> > FWIW, I'm running into this trying to create

Re: [HACKERS] Status of Fix Domain Casting TODO

2007-01-02 Thread Andrew Dunstan
Jim C. Nasby wrote: On Mon, Jan 01, 2007 at 06:30:40PM -0600, Andrew Dunstan wrote: Tom Lane wrote: "Jim C. Nasby" <[EMAIL PROTECTED]> writes: FWIW, I'm running into this trying to create a 'raw' domain that would automagically convert hex strings into actual binary data for sto

Re: [HACKERS] Status of Fix Domain Casting TODO

2007-01-02 Thread Jim C. Nasby
On Mon, Jan 01, 2007 at 06:30:40PM -0600, Andrew Dunstan wrote: > Tom Lane wrote: > > "Jim C. Nasby" <[EMAIL PROTECTED]> 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. >

Re: [HACKERS] Status of Fix Domain Casting TODO

2007-01-01 Thread Andrew Dunstan
Tom Lane wrote: > "Jim C. Nasby" <[EMAIL PROTECTED]> 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

Re: [HACKERS] Status of Fix Domain Casting TODO

2007-01-01 Thread Tom Lane
"Jim C. Nasby" <[EMAIL PROTECTED]> 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. W

[HACKERS] Status of Fix Domain Casting TODO

2007-01-01 Thread Jim C. Nasby
I'm wondering if Gevik has had any time for further work on http://archives.postgresql.org/pgsql-hackers/2006-09/msg01738.php ? 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. My intention was