From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-admin@postgresql.org
To: gnanam@zoniac.com
Subject: Re: How to find and/or REINDEX only GiST indexes in the database?
Date: Wed, 12 Oct 2011 09:37:30 -0500
Message-ID: <4E955FDA0200002500041E9F@gw.wicourts.gov> (raw)
In-Reply-To: <008201cc88dd$0208c1a0$061a44e0$@com>
References: <008201cc88dd$0208c1a0$061a44e0$@com>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, gnanam@zoniac.com
Subject: Re: How to find and/or REINDEX only GiST indexes in the database?
In-Reply-To: <4E955FDA0200002500041E9F@gw.wicourts.gov>
References: <008201cc88dd$0208c1a0$061a44e0$@com> <4E955FDA0200002500041E9F@gw.wicourts.gov>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox