Re: Data TYPE Creation

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Data TYPE Creation
Дата
Msg-id 20030317132932.GB19079@wolff.to
обсуждение исходный текст
Ответ на Data TYPE Creation  ("Guillaume Houssay" <ghoussay@noos.fr>)
Список pgsql-general
On Sun, Mar 16, 2003 at 23:39:22 +0100,
  Guillaume Houssay <ghoussay@noos.fr> wrote:
> I wonder if the following data type is available INT1 (I am using the last version of Postgresql).
> I will have about 90% of my database with numeric values of only 1 byte.
>
> If it does not exist (according to what I read this is the case), is there a way to use another type with the same
result? 

You can use a constraint to limit the valid range of integers. Probably
using int2 with a constraint is the best answer for you.

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

Предыдущее
От: Joshua Moore-Oliva
Дата:
Сообщение: Re: copying between Postgres databases
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Data TYPE Creation