Re: Status of Fix Domain Casting TODO

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Status of Fix Domain Casting TODO
Дата
Msg-id 21051.1167692730@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Status of Fix Domain Casting TODO  ("Jim C. Nasby" <jim@nasby.net>)
Ответы Re: Status of Fix Domain Casting TODO  ("Andrew Dunstan" <andrew@dunslane.net>)
Список 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 по дате отправления:

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: TODO: GNU TLS
Следующее
От: Bruce Momjian
Дата:
Сообщение: 8.3 pending patch queue