Re: Enum

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Enum
Дата
Msg-id 4A9DB383.9030309@hogranch.com
обсуждение исходный текст
Ответ на Enum  (Xai <rellonlawrence@gmail.com>)
Список pgsql-general
Xai wrote:
> Is there a query i can use to get the fields of an Enum, just in case
> someone needs it for the client application.
>


select e.enumlabel from pg_enum as e join pg_type as t on (t.typtype='e'
and e.enumtypeid=t.typbasetype) where t.typname = $1 order by e.enumtypid;


I think.  or something close to that.



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

Предыдущее
От: Xai
Дата:
Сообщение: Enum
Следующее
От: Narendra Shah
Дата:
Сообщение: Re: No buffer space available