pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Demote variable from global to local
Date: Mon, 16 Dec 2019 17:24:37 +0000
Message-ID: <E1igu6n-0007DK-6H@gemulon.postgresql.org> (raw)

Demote variable from global to local

recoveryDelayUntilTime was introduced by commit 36da3cfb457b as a global
because its method of operation was devilishly intrincate.  Commit
c945af80cfda removed all that complexity and could have turned it into a
local variable, but didn't.  Do so now.

Discussion: https://postgr.es/m/20191213200751.GA10731@alvherre.pgsql
Reviewed-by: Michaƫl Paquier, Daniel Gustafsson

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/91fca4bb60e8c00e8b0e2755555b39f4b1c1659c

Modified Files
--------------
src/backend/access/transam/xlog.c | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)



Message-ID: <E1igu6n-0007DK-6H@gemulon.postgresql.org>
Permalink:  ../E1igu6n-0007DK-6H@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1igu6n-0007DK-6H@gemulon.postgresql.org

 · 

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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Demote variable from global to local
  In-Reply-To: <E1igu6n-0007DK-6H@gemulon.postgresql.org>
  References: <E1igu6n-0007DK-6H@gemulon.postgresql.org>

* 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