| От | Andrew Dunstan |
|---|---|
| Тема | Re: Binary data type with other output method |
| Дата | |
| Msg-id | 47712B71.3080001@dunslane.net обсуждение исходный текст |
| Ответ на | Binary data type with other output method (Andreas 'ads' Scherbaum <adsmail@wars-nicht.de>) |
| Ответы |
Re: Binary data type with other output method
Re: Binary data type with other output method |
| Список | pgsql-hackers |
Andreas 'ads' Scherbaum wrote: > Hello all, > > i'm in the need to create a boolean datatype which returns an integer > instead of the usual 't'/'f'. Before anyone starts to point me at > casts: it's a lot overhead to cast some hundred occurances beside the > source of trouble, if you forget one. > > > Do you really need a new datatype or just to change the output behaviour of the inbuilt type? That should be quite easy to do in just a few lines of code. cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера