Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 0A8C91337B67 for ; Mon, 29 Nov 2010 10:20:35 -0400 (AST) 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 01675-06 for ; Mon, 29 Nov 2010 14:20:27 +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 B6DDE1337B63 for ; Mon, 29 Nov 2010 10:20:27 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 2D18B348023; Mon, 29 Nov 2010 06:20:21 -0800 (PST) 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 hIvWglMGN64f; Mon, 29 Nov 2010 06:20:18 -0800 (PST) Received: from perhan.alvh.no-ip.org (unknown [190.95.22.225]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 2D775348022; Mon, 29 Nov 2010 06:20:18 -0800 (PST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 60AD66E4BE; Mon, 29 Nov 2010 11:20:15 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Robert Haas , pgsql-hackers Subject: Re: DropRelFileNodeBuffers API change (was Re: [BUGS] BUG #5599: Vacuum fails due to index corruption issues) From: Alvaro Herrera To: Tom Lane In-reply-to: <11503.1281927271@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> <3092.1281898690@sss.pgh.pa.us> <5884.1281908348@sss.pgh.pa.us> <10048.1281921954@sss.pgh.pa.us> <11503.1281927271@sss.pgh.pa.us> Date: Mon, 29 Nov 2010 11:20:15 -0300 Message-Id: <1291040334-sup-3561@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: 201011/1932 X-Sequence-Number: 175075 Excerpts from Tom Lane's message of dom ago 15 22:54:31 -0400 2010: > I'm thinking that we need some sort of what-to-do-on-error flag passed > into RelationTruncate, plus at least order-of-operations fixes in > several other places, if not a wholesale refactoring of this whole call > stack. But I'm running out of steam and don't have a concrete proposal > to make right now. In any case, we've got more problems here than just > the original one of forgetting dirty buffers too soon. I think this fell through the cracks. What are we going to do here? -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support