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.gj11...@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(-)

Reply via email to