Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 962FE632234 for ; Thu, 5 Aug 2010 15:28:49 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 61346-06 for ; Thu, 5 Aug 2010 18:28:42 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 94F4B6336AD for ; Thu, 5 Aug 2010 15:28:42 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id C390734805A; Thu, 5 Aug 2010 11:28:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8eF1aQPYZ5XR; Thu, 5 Aug 2010 11:28:38 -0700 (PDT) Received: from perhan.alvh.no-ip.org (190-95-29-207.bk17-dsl.surnet.cl [190.95.29.207]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 4E97C348046; Thu, 5 Aug 2010 11:28:38 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id E1F1A6E5F1; Thu, 5 Aug 2010 14:28:35 -0400 (CLT) Content-Type: text/plain; charset=UTF-8 Cc: Hitesh Bhambhani , pgsql-bugs Subject: Re: BUG #5599: Vacuum fails due to index corruption issues From: Alvaro Herrera To: Tom Lane In-reply-to: <25994.1281031275@sss.pgh.pa.us> References: <201008042147.o74LlCge057659@wwwmaster.postgresql.org> <1280978913-sup-5475@alvh.no-ip.org> <8B7319E089E48047A0B688CE9CF54FD855C3C916@USRES8MAIL.asg.com> <1880.1281020817@sss.pgh.pa.us> <1281025234-sup-1704@alvh.no-ip.org> <16374.1281026184@sss.pgh.pa.us> <1281027356-sup-6865@alvh.no-ip.org> <23590.1281028781@sss.pgh.pa.us> <1281029938-sup-3072@alvh.no-ip.org> <25994.1281031275@sss.pgh.pa.us> Date: Thu, 05 Aug 2010 14:28:35 -0400 Message-Id: <1281032780-sup-1394@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201008/127 X-Sequence-Number: 27710 Excerpts from Tom Lane's message of jue ago 05 14:01:15 -0400 2010: > You're right, I misremembered. That code is just plain gone in 9.0: > http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtree.c.diff?r1=1.174;r2=1.175;f=h > > Still, we have a live issue with heap truncation during plain VACUUM. > However, the scope of the problem seems a lot less than I was thinking. The scope is further reduced by the fact that this only seems to happen on Windows, and then only when the antivirus is messing around with the files. > Maybe write-the-buffers-first is a sufficient longterm solution. Yeah, perhaps it is, though it's a pity that a single platform problem is going to slow down everyone else. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support