Re: pg dump only indexes

Поиск
Список
Период
Сортировка
От Vibhor Kumar
Тема Re: pg dump only indexes
Дата
Msg-id FB12A506-8A73-4A89-862B-5F0B27B14448@gmail.com
обсуждение исходный текст
Ответ на pg dump only indexes  ("Campbell, Lance" <lance@illinois.edu>)
Список pgsql-admin
On Dec 16, 2013, at 5:42 PM, Campbell, Lance <lance@illinois.edu> wrote:

> PostgreSQL 9.2
> Is there a way to use pg_dump to dump just indexes on a database?

You can use --section=post-data and grep the INDEXES.

Or you can use pg_catalog.pg_indexes.indexdef for indexes.
http://www.postgresql.org/docs/9.2/static/view-pg-indexes.html

Thanks & Regards,
Vibhor Kumar
Blogs:http://vibhork.blogspot.com
http://vibhorkumar.wordpress.com



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

Предыдущее
От: "Campbell, Lance"
Дата:
Сообщение: pg dump only indexes
Следующее
От: bricklen
Дата:
Сообщение: Re: pg dump only indexes