Move variable increment to the end of the loop

John Naylor <john.naylor@postgresql.org>

Commit: 995a9fb14f6aa81ad8eedaf4e8dce1b3e51105c0
Author: John Naylor <john.naylor@postgresql.org>
Date: 2022-12-20T07:13:14Z
Releases: 16.0
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

Files

PathChange+/−
src/backend/utils/activity/backend_status.c modified +2 −1

Discussion