X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9739CD1EA2A for ; Fri, 30 Apr 2004 22:21:17 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 20110-09 for ; Fri, 30 Apr 2004 22:20:59 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id AFA21D1E809 for ; Fri, 30 Apr 2004 22:20:55 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i411JdhO008882; Fri, 30 Apr 2004 21:19:39 -0400 (EDT) To: Manfred Koizar Cc: Jochem van Dieten , pgsql-performance@postgresql.org Subject: Re: planner/optimizer question In-reply-to: References: <409290F0.10509@oli.tudelft.nl> Comments: In-reply-to Manfred Koizar message dated "Fri, 30 Apr 2004 23:36:58 +0200" Date: Fri, 30 Apr 2004 21:19:39 -0400 Message-ID: <8881.1083374379@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/531 X-Sequence-Number: 6831 Manfred Koizar writes: > Yes, the visible-to-all flag would be set as a by-product of an index > scan, if the heap tuple is found to be visible to all active > transactions. This update is non-critical Oh really? I think you need to think harder about the transition conditions. Dead-to-all is reasonably safe to treat as a hint bit because *it does not ever need to be undone*. Visible-to-all does not have that property. regards, tom lane