Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6WiR-00082u-Ao for pgsql-hackers@arkaria.postgresql.org; Fri, 05 May 2017 06:27:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d6WiQ-0004xt-3P for pgsql-hackers@arkaria.postgresql.org; Fri, 05 May 2017 06:27:46 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d6WiP-0004xk-Je for pgsql-hackers@postgresql.org; Fri, 05 May 2017 06:27:45 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d6WiJ-0002nz-4M for pgsql-hackers@postgresql.org; Fri, 05 May 2017 06:27:44 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 4735E20A23; Fri, 5 May 2017 02:27:38 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Fri, 05 May 2017 02:27:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=tIszq8LQ1G8X27fz85 TCqHRxmrOPlA4eNMYs4ESGnvc=; b=aDccojZUgpVhR0+AmVMeMzq+8no1FNmCpu jdz95zKJ/EamUiqX7Q40tn56319lvAxroexhjzcWdVio1NpxliQwWV9Akf97epoq FBk8ILm/lcEd2FZtANoEuSjuqVw5nozArLveNuJbhNr5gIzH8dfyuesi2yoJzuFU I0NpXfGLhPgpiTXZQPtbg23x+ucGiPwP6Qia/dWpOchMkfemtobp/8DiRKkyqXgr stwbNMQcJNdA3ZepZjuG8Je/WoDRT0e6Y7Dtkl9wnuc5Ks7FpKv2KjujNCOKuPLF RA/q3/liKtBWYYHneH60YK3eYynsYAe1QYaM3dRIKOIXW04zLSoA== X-ME-Sender: X-Sasl-enc: sGBcArJEEJ/MtPe6ZLEKqEqZNPPsxoEsvoHAqWdtVf72 1493965658 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id 0A4F97E320; Fri, 5 May 2017 02:27:38 -0400 (EDT) Date: Thu, 4 May 2017 23:27:36 -0700 From: Andres Freund To: Amit Kapila Cc: pgsql-hackers , Michael Paquier Subject: Re: Change GetLastImportantRecPtr's definition? (wasSkip checkpoints, archiving on idle systems.) Message-ID: <20170505062736.2latenw7cd7tdn67@alap3.anarazel.de> References: <20170505012447.wsrympaxnfis6ojt@alap3.anarazel.de> <20170505061310.solmwcb5yo3urwmv@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.6 (--) 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 Hi, On 2017-05-05 11:50:12 +0530, Amit Kapila wrote: > I see that EndPos can be updated in one of the cases after releasing > the lock (refer below code). Won't that matter? I can't see how it'd in the cases that'd matter for GetLastImportantRecPtr() - but it'd probably good to note it in the comment. Thanks, Andres -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers