Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 747382E004F for ; Wed, 27 Feb 2008 16:03:02 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 04254-07 for ; Wed, 27 Feb 2008 16:02:48 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 9E3212E0055 for ; Wed, 27 Feb 2008 16:02:51 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m1RK2kmR006516; Wed, 27 Feb 2008 15:02:46 -0500 (EST) To: Jeff Davis cc: "Joshua D. Drake" , Scott Marlowe , Peter Koczan , pgsql-performance Subject: Re: disabling an index without deleting it? In-reply-to: <1204139818.16886.29.camel@dogma.ljc.laika.com> References: <4544e0330802261246t574167fdpc47629d1bbe64fed@mail.gmail.com> <20080226130339.64bd4ec3@commandprompt.com> <9050.1204064560@sss.pgh.pa.us> <1204139818.16886.29.camel@dogma.ljc.laika.com> Comments: In-reply-to Jeff Davis message dated "Wed, 27 Feb 2008 11:16:58 -0800" Date: Wed, 27 Feb 2008 15:02:46 -0500 Message-ID: <6515.1204142566@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/381 X-Sequence-Number: 28923 Jeff Davis writes: >>> begin; >>> drop index abc_dx; >>> select .... >>> rollback; > It may cause catalog bloat though, right? Not in this particular case; AFAIR this will only result in catalog row deletions, not updates. So when the deletions roll back, there's no dead rows to clean up. regards, tom lane