| От | stig erikson |
|---|---|
| Тема | 1-byte integers |
| Дата | |
| Msg-id | ciflkp$pjh$1@news.hub.org обсуждение исходный текст |
| Ответы |
Re: 1-byte integers
|
| Список | pgsql-sql |
how can i specify an integer to be one byte byte or even 4 bits long? int1, int(1), tinyint are nowhere to be seen. smallest i can find is smallint that is 2 bytes. in a table i will have a few columns with values between 0 and 15, so optimally i am looking for some kind of unsigned 4-bits, or (un)signed integer (1-byte). i can live with smallint for a while but estimate a few millions of rows in the table to be a reality soon, in such cases every byte matters. is there some stig
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера