Re: How to find and/or REINDEX only GiST indexes in the database? - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: How to find and/or REINDEX only GiST indexes in the database?
Date
Msg-id 4E955FDA0200002500041E9F@gw.wicourts.gov
Whole thread Raw
In response to How to find and/or REINDEX only GiST indexes in the database?  ("Gnanakumar" <gnanam@zoniac.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to find and/or REINDEX only GiST indexes in the database?
Next
From: Evan Walter
Date:
Subject: Trying to use binary replication - from tutorial