| От | Shachar Shemesh |
|---|---|
| Тема | Re: one byte data type |
| Дата | |
| Msg-id | 404C9B8C.10707@shemesh.biz обсуждение |
| Ответ на | Re: one byte data type (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Tom Lane wrote:
>Shachar Shemesh <psql@shemesh.biz> writes:
>
>
>>Is there a datatype that means "one byte"?
>>
>>
>
>You might be able to use the "char" type (note the quotes). I am not
>sure how well it will cope with storing zeroes (nulls) though.
>
> regards, tom lane
>
>
Hmm, this will also screw up textual queries. Not important for this
particular case, but not a good general solution. What are the chances
of adding such a type for 7.4.2?
Shachar
P.S.
Notice how this message arrives directly as well, despite spam filters.
--
Shachar Shemesh
Lingnu Open Systems Consulting
http://www.lingnu.com/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера