Re: How to find and/or REINDEX only GiST indexes in the database?

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: How to find and/or REINDEX only GiST indexes in the database?
Дата
Msg-id 4E955FDA0200002500041E9F@gw.wicourts.gov
обсуждение исходный текст
Ответ на How to find and/or REINDEX only GiST indexes in the database?  ("Gnanakumar" <gnanam@zoniac.com>)
Список pgsql-admin
"Gnanakumar" <gnanam@zoniac.com> wrote:

> how do I find out or REINDEX *only* GiST indexes in the
> database?  Is there a single syntax/command that does this?

I would probably capture the output from:

SELECT indexdef || ';'
  FROM pg_indexes
  WHERE indexdef ~ ' USING gist ';

-Kevin

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to find and/or REINDEX only GiST indexes in the database?
Следующее
От: Evan Walter
Дата:
Сообщение: Trying to use binary replication - from tutorial