Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 25FB0B5DC72 for ; Wed, 12 Oct 2011 11:37:45 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 77538-08-2 for ; Wed, 12 Oct 2011 14:37:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 246A0B5DC20 for ; Wed, 12 Oct 2011 11:37:31 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Wed, 12 Oct 2011 09:37:31 -0500 Message-Id: <4E955FDA0200002500041E9F@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Wed, 12 Oct 2011 09:37:30 -0500 From: "Kevin Grittner" To: , Subject: Re: How to find and/or REINDEX only GiST indexes in the database? References: <008201cc88dd$0208c1a0$061a44e0$@com> In-Reply-To: <008201cc88dd$0208c1a0$061a44e0$@com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/60 X-Sequence-Number: 38512 "Gnanakumar" 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