schemas in 7.3b1

Поиск
Список
Период
Сортировка
От Chris
Тема schemas in 7.3b1
Дата
Msg-id 3d9c49c7_1@news.iprimus.com.au
обсуждение исходный текст
Ответы Re: schemas in 7.3b1
Список pgsql-general
Hi all,

Just a quick question.

Is there an easy way to get a list of schemas in a database?

serverlogs=# SELECT version();
                             version
---------------------------------------------------------------
  PostgreSQL 7.3b1 on i586-pc-linux-gnu, compiled by GCC 2.95.3
(1 row)


serverlogs=# CREATE SCHEMA dwarf;
CREATE SCHEMA
serverlogs=# SELECT current_schemas(true);
    current_schemas
---------------------
  {pg_catalog,public}
(1 row)


I found the pg_namespace table, but that doesn't tell me what database
has a particular schema..

I checked the developer docs but I couldn't find anything there.


Thanks,
Chris.


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

Предыдущее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: Large databases, performance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Oracle SGA like feature???