Re: How to list all schema names inside a PostgreSQL database through SQL

Поиск
Список
Период
Сортировка
От Xiaobo Gu
Тема Re: How to list all schema names inside a PostgreSQL database through SQL
Дата
Msg-id CACOCgckL3bk=R+fxc0SWZ0UgvLhOUtgsvqY9G69WF63UaUAFAw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to list all schema names inside a PostgreSQL database through SQL  (Ondrej Ivanič <ondrej.ivanic@gmail.com>)
Список pgsql-general
Thanks a lot.

On Fri, Nov 16, 2012 at 5:33 AM, Ondrej Ivanič <ondrej.ivanic@gmail.com> wrote:
> Hi,
>
> On 15 November 2012 23:31, Xiaobo Gu <guxiaobo1982@gmail.com> wrote:
>> How can I list  all schema names inside a PostgreSQL database through
>> SQL, especially thoese without any objects created inside it.
>
> Use -E psql's option:
>   -E, --echo-hidden        display queries that internal commands generate
>
> then you get SQL query for each internal command.
>
> The second option is to use information_schema.schemata view (this is
> works across databases)
>
>
> --
> Ondrej Ivanic
> (http://www.linkedin.com/in/ondrejivanic)


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

Предыдущее
От: Xiaobo Gu
Дата:
Сообщение: Re: How to list all schema names inside a PostgreSQL database through SQL
Следующее
От: Thomas Hill
Дата:
Сообщение: Experiences with pl/Java