pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Naylor <john.naylor@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move variable increment to the end of the loop
Date: Tue, 20 Dec 2022 07:19:35 +0000
Message-ID: <E1p7WuU-004WGs-LJ@gemulon.postgresql.org> (raw)

Move variable increment to the end of the loop

This is less error prone and matches the placement of other code
in the file.

Justin Pryzby

Reviewed by Tom Lane
Discussion: https://www.postgresql.org/message-id/20221123172436.GJ11463@telsasoft.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/995a9fb14f6aa81ad8eedaf4e8dce1b3e51105c0

Modified Files
--------------
src/backend/utils/activity/backend_status.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



Message-ID: <E1p7WuU-004WGs-LJ@gemulon.postgresql.org>
Permalink:  ../E1p7WuU-004WGs-LJ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1p7WuU-004WGs-LJ@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: john.naylor@postgresql.org
  Subject: Re: pgsql: Move variable increment to the end of the loop
  In-Reply-To: <E1p7WuU-004WGs-LJ@gemulon.postgresql.org>
  References: <E1p7WuU-004WGs-LJ@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