Re: Fetching column names for a table

Поиск
Список
Период
Сортировка
От Philip Hallstrom
Тема Re: Fetching column names for a table
Дата
Msg-id 20050921114525.H87170@wolf.pjkh.com
обсуждение исходный текст
Ответ на Fetching column names for a table  (Steve Manes <smanes@magpie.com>)
Список pgsql-general
> I need to extract a SETOF column names for a table in plpgsql.  How is this
> done?

Start up psql with the -E option.  Then type "\dt tablename".  This will
print out the SQL that psql runs to give you the column names.  Maybe that
will do what you want?

-philip

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

Предыдущее
От: Yonatan Ben-Nes
Дата:
Сообщение: Re: Slow search.. quite clueless
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Problem with libpq3 & postgresql8