Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wu0SZ-0002Gy-KQ for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Jun 2014 14:22:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wu0SZ-00052C-4v for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Jun 2014 14:22:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wu0SY-000526-F6 for pgsql-bugs@postgresql.org; Mon, 09 Jun 2014 14:22:02 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wu0SV-0005IM-Ev for pgsql-bugs@postgresql.org; Mon, 09 Jun 2014 14:22:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s59ELsfY028012; Mon, 9 Jun 2014 10:21:54 -0400 From: Tom Lane To: Heikki Linnakangas cc: Andres Freund , levertond@googlemail.com, pgsql-bugs@postgresql.org, Alvaro Herrera Subject: Re: BUG #10533: 9.4 beta1 assertion failure in autovacuum process In-reply-to: <5395B0C6.2070000@vmware.com> References: <20140605180121.3061.28250@wrigleys.postgresql.org> <5390BA0F.2030103@vmware.com> <20140605213436.GA17217@awork2.anarazel.de> <20140609124616.GC3149@alap3.anarazel.de> <5395B0C6.2070000@vmware.com> Comments: In-reply-to Heikki Linnakangas message dated "Mon, 09 Jun 2014 16:04:06 +0300" Date: Mon, 09 Jun 2014 10:21:54 -0400 Message-ID: <28011.1402323714@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Heikki Linnakangas writes: > On 06/09/2014 03:46 PM, Andres Freund wrote: >> Before I start working on a patch along those lines, do you see any >> problems with making the critical section smaller? > One subtle difference is that the PD_ALL_VISIBLE flag will not be > included in the full-page-image that log_heap_page() might take. But > that seems OK. visibilitymap_set() writes a WAL record that sets it at > replay. Huh? The visibility map call is after the page image would be taken in any case. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs