Re: int1?

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: int1?
Дата
Msg-id 3F85C6B5.7000604@joeconway.com
обсуждение исходный текст
Ответ на Re: int1?  (Ron Johnson <ron.l.johnson@cox.net>)
Список pgsql-general
Ron Johnson wrote:
> On Thu, 2003-10-09 at 02:16, CSN wrote:
>
>>Is there any date type that can be used for 0-255
>>values? Like an "int1" or byte column.
>
> An int2 with a constraint on it.
>

You can use the data type "char" (with the quotes, and without a (n)
decoration). See:
http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=datatype-character.html
near the bottom of the page.

Joe


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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: Domains (was Re: int1?)
Следующее
От: Patrick Welche
Дата:
Сообщение: Re: autoupdate sequences after copy