Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bq0r3-0001Bi-S2 for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Sep 2016 16:40:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bq0r3-00048w-EI for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Sep 2016 16:40:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bq0r1-00042R-IB for pgsql-hackers@postgresql.org; Fri, 30 Sep 2016 16:40:07 +0000 Received: from newmail.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bq0qy-0006L7-6u for pgsql-hackers@postgresql.org; Fri, 30 Sep 2016 16:40:07 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 0156C21C35AA; Fri, 30 Sep 2016 19:40:03 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at postgrespro.ru Received: from mail.postgrespro.ru ([127.0.0.1]) by localhost (mail.postgrespro.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J22q6LyUyYyL; Fri, 30 Sep 2016 19:40:02 +0300 (MSK) Received: from [192.168.27.61] (unknown [192.168.27.1]) by mail.postgrespro.ru (Postfix) with ESMTPSA id CD7D021C356E; Fri, 30 Sep 2016 19:40:02 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1475253602; bh=VsSaeiDdNgI2UxZhVHjuB/1+Rry1M9UIUB+bOlXGhDQ=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=bZAfM1G118t2VgnaBXyhwS9NdP20hrKNQm8qnRj2wgQiBksXXrwumUX/fFlg4IXxo GBxAizMRKu0HUqHbZ8eXYY2vZH9OXpIS3xSNJvZ6MqJugO9rv8zvxE8Vn5jBr0glZ2 cB01pmtNmyzE3beosP5YO0PCt4Z8A099KrH6n+iU= Subject: Re: On conflict update & hint bits To: Peter Geoghegan References: <57EE93C8.8080504@postgrespro.ru> Cc: PostgreSQL Hackers From: Konstantin Knizhnik Message-ID: <57EE9565.9010100@postgrespro.ru> Date: Fri, 30 Sep 2016 19:40:05 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -5.0 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 30.09.2016 19:37, Peter Geoghegan wrote: > On Fri, Sep 30, 2016 at 5:33 PM, Konstantin Knizhnik > wrote: >> Later we try to check tuple visibility: >> >> ExecCheckHeapTupleVisible(estate, &tuple, buffer); >> >> and inside HeapTupleSatisfiesMVCC try to set hint bit. > So, you're using repeatable read or serializable isolation level? > Repeatable read. -- Konstantin Knizhnik Postgres Professional: http://www.postgrespro.com The Russian Postgres Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers