Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 7FF201337B6E for ; Wed, 10 Nov 2010 09:14:17 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 41803-03 for ; Wed, 10 Nov 2010 13:14:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 0CD9E1336B42 for ; Wed, 10 Nov 2010 09:14:09 -0400 (AST) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Wed, 10 Nov 2010 07:14:10 -0600 Message-Id: <4CDA46390200002500037500@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Wed, 10 Nov 2010 07:14:01 -0600 From: "Kevin Grittner" To: , Subject: Re: reindex script 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=-4.21 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/77 X-Sequence-Number: 36043 Silvio Brandani wrote: > Is it possible to use a reindex in a share lock mode ?? Check out the CONCURRENTLY keyword in CREATE INDEX: http://www.postgresql.org/docs/current/interactive/sql-createindex.html You could create a duplicate index concurrently, drop the old index, and rename the new one to the old name. -Kevin