pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Michael Paquier <michael.paquier@gmail.com>
Subject: Re: Change GetLastImportantRecPtr's definition? (wasSkip checkpoints, archiving on idle systems.)
Date: Thu, 4 May 2017 23:27:36 -0700
Message-ID: <20170505062736.2latenw7cd7tdn67@alap3.anarazel.de> (raw)
In-Reply-To: <CAA4eK1Lmqc=QfW7suCOzgV4fdYMobqrMW8xTsoiZPgi2skYo_g@mail.gmail.com>
References: <E1cK97K-0003Lh-E7@gemulon.postgresql.org>
	<20170505012447.wsrympaxnfis6ojt@alap3.anarazel.de>
	<CAA4eK1LMOY4qEvcBxd0MfhnPKHEC3QV7YE6O9WAf90G3hWSP5g@mail.gmail.com>
	<20170505061310.solmwcb5yo3urwmv@alap3.anarazel.de>
	<CAA4eK1Lmqc=QfW7suCOzgV4fdYMobqrMW8xTsoiZPgi2skYo_g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

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



view thread (8+ messages)  latest in thread

Message-ID: <20170505062736.2latenw7cd7tdn67@alap3.anarazel.de>
Permalink:  ../20170505062736.2latenw7cd7tdn67@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20170505062736.2latenw7cd7tdn67@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, amit.kapila16@gmail.com, pgsql-hackers@postgresql.org, michael.paquier@gmail.com
  Subject: Re: Change GetLastImportantRecPtr's definition? (wasSkip checkpoints, archiving on idle systems.)
  In-Reply-To: <20170505062736.2latenw7cd7tdn67@alap3.anarazel.de>
  References: <E1cK97K-0003Lh-E7@gemulon.postgresql.org> <20170505012447.wsrympaxnfis6ojt@alap3.anarazel.de> <CAA4eK1LMOY4qEvcBxd0MfhnPKHEC3QV7YE6O9WAf90G3hWSP5g@mail.gmail.com> <20170505061310.solmwcb5yo3urwmv@alap3.anarazel.de> <CAA4eK1Lmqc=QfW7suCOzgV4fdYMobqrMW8xTsoiZPgi2skYo_g@mail.gmail.com> <20170505062736.2latenw7cd7tdn67@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox