Re: database field list

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: database field list
Дата
Msg-id irucqi$9h3$1@dough.gmane.org
обсуждение исходный текст
Ответ на database field list  (Seb <spluque@gmail.com>)
Список pgsql-general
Seb wrote on 29.05.2011 23:04:
> Hi,
>
> I've been scouring the system tables for a way to return a list of
> fields across all tables of a database.  I see that pg_attribute is the
> one to query here, but I'm not sure how to rule out system fields.
> Thanks in advance for any pointers.
>

information_schema.columns is probably easier to look at:

http://www.postgresql.org/docs/current/static/infoschema-columns.html

Thomas

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

Предыдущее
От: Seb
Дата:
Сообщение: database field list
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: How to check a table content efficiently? With LIMIT and OFFSET?