pgsql: Move variable increment to the end of the loop - Mailing list pgsql-committers

From John Naylor
Subject pgsql: Move variable increment to the end of the loop
Date
Msg-id E1p7WuU-004WGs-LJ@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add pg_dissect_walfile_name()
Next
From: David Rowley
Date:
Subject: pgsql: Improve the performance of the slab memory allocator