Re: Query to get column-names in table via PG tables?

Поиск
Список
Период
Сортировка
Искать
От
Merlin Moncure
Тема
Re: Query to get column-names in table via PG tables?
Дата
Msg-id
b42b73150801100556h7b86a335ve633e9ea43a2834b@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Query to get column-names in table via PG tables? Ken Johanson <pg-user@kensystem.com>
Re: Query to get column-names in table via PG tables? "Joshua D. Drake" <jd@commandprompt.com>
Re: Query to get column-names in table via PG tables? Ken Johanson <pg-user@kensystem.com>
Re: Query to get column-names in table via PG tables? "Merlin Moncure" <mmoncure@gmail.com>
Re: Query to get column-names in table via PG tables? Ken Johanson <pg-user@kensystem.com>
Re: Query to get column-names in table via PG tables? Tino Wildenhain <tino@wildenhain.de>
Re: Query to get column-names in table via PG tables? Ken Johanson <pg-user@kensystem.com>
Re: Query to get column-names in table via PG tables? "Merlin Moncure" <mmoncure@gmail.com>
Re: Query to get column-names in table via PG tables? Ken Johanson <pg-user@kensystem.com>
Re: Query to get column-names in table via PG tables? Ken Johanson <pg-user@kensystem.com>
On Jan 10, 2008 1:37 AM, Ken Johanson  wrote:
> Hi all,
>
> I am looking for expertise on how to program the equivalent to this
> query, but using the pg_catalog tables, which I understand have fewer
> security restrictions than information_schema in some cases:
>
> SELECT column_name
> FROM information_schema.columns
> WHERE table_catalog=? AND table_schema=? AND table_name=?
> ORDER BY ordinal_position

Do what psql does...launch it with psql -E, and it will echo any
internal queries it makes back to you.  Do \d on a couple of tables
and you should see what is going on.

merlin
В списке pgsql-general по дате отправления
От: Albe Laurenz
Дата:
Сообщение: Re: Format Float numbers
От: Christopher Siwy
Дата:
Сообщение: Re: Cannot connect to PgPool
FAQ