Re: ENUM like data type

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: ENUM like data type
Дата
Msg-id 20050628123720.GA20566@wolff.to
обсуждение исходный текст
Ответ на ENUM like data type  (MRB <nomail@example.com>)
Список pgsql-sql
On Tue, Jun 21, 2005 at 17:20:19 +0200, MRB <nomail@example.com> wrote:
> 
> Here is where I get uncertain as to if this is possible. My idea is to 
> create a pseudo type that triggers the creation of it's lookup tables 
> the same way the SERIAL type triggers creation of a sequence and returns 
> an int with the right default value.

You might want to look at using a domain to do this.


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

Предыдущее
От: Sergey Levchenko
Дата:
Сообщение: ERROR: "TZ"/"tz" not supported
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: cross-table reference