Re: How to list which tables are available?

Поиск
Список
Период
Сортировка
От Alvaro Herrera Munoz
Тема Re: How to list which tables are available?
Дата
Msg-id 20031014194031.GC14497@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: How to list which tables are available?  ("B.W.H. van Beest" <bwvb@xs4all.nl>)
Список pgsql-general
On Tue, Oct 14, 2003 at 09:02:13PM +0200, B.W.H. van Beest wrote:
> Thanks for the answers given. I am discovering the world of SQL ...
>
> Given the nature of all replies (they all refer to something that is
> PG-specific), I conclude that there is no generic way (i.e. something
> that will hold for all sql-compliant systems).

Actually, the SQL standard _has_ a way to get this information, called the
INFORMATION_SCHEMA.  Not all vendors implement it; at least, it's present
in PostgreSQL 7.4.  Meanwhile you can use the pg_tables view.

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"Aprende a avergonzarte m�s ante ti que ante los dem�s" (Dem�crito)

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

Предыдущее
От: CoL
Дата:
Сообщение: Re: Excute comnands OS from plpgsql
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: Excute comnands OS from plpgsql