| От | Tom Lane |
|---|---|
| Тема | Re: US Telephone Number Type |
| Дата | |
| Msg-id | 8237.1152589609@sss.pgh.pa.us обсуждение |
| Ответ на | Re: US Telephone Number Type ("Karen Hill" <karen_hill22@yahoo.com>) |
| Ответы |
Re: US Telephone Number Type
|
| Список | pgsql-general |
"Karen Hill" <karen_hill22@yahoo.com> writes:
> I did a quick google and someone mentioned that input and output
> functions need to be written in C. Is that still the case?
Yeah, pretty much. The main problem is that such functions need to deal
with whatever physical on-disk format you've chosen for the datatype,
and most of our PLs don't offer bit-level memory access.
If C functions seem like more work than you want to go to for this
problem, I concur with using a domain over text with a regex check
constraint ...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера