Re: int1?

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема Re: int1?
Дата
Msg-id 20031009081909.GA35964@perrin.nxad.com
обсуждение исходный текст
Ответ на int1?  (CSN <cool_screen_name90001@yahoo.com>)
Ответы Re: int1?
Re: int1?
Re: int1?
Список pgsql-general
> Is there any date type that can be used for 0-255
> values? Like an "int1" or byte column.

A SMALLINT is two bytes on disk, use "char" instead.  This is a hidden
goodie in PostgreSQL and one that I wish was exposed via a more
conventional syntax (*hint hint*).

http://developer.postgresql.org/docs/postgres/datatype-character.html#DATATYPE-CHARACTER-SPECIAL-TABLE

-sc

--
Sean Chittenden

В списке pgsql-general по дате отправления:

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: int1?
Следующее
От: Ang Chin Han
Дата:
Сообщение: Re: Does postgresql support HKSCS ?