pgsql: Move variable increment to the end of the loop

From: John Naylor <john(dot)naylor(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move variable increment to the end of the loop
Date: 2022-12-20 07:19:35
Message-ID: E1p7WuU-004WGs-LJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2022-12-20 08:21:38 Re: pgsql: Doc: Explain about Column List feature.
Previous Message Michael Paquier 2022-12-20 04:38:27 pgsql: Add pg_dissect_walfile_name()