pgsql: Move variable increment to the end of the loop

Поиск
Список
Период
Сортировка
От John Naylor
Тема pgsql: Move variable increment to the end of the loop
Дата
Msg-id E1p7WuU-004WGs-LJ@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add pg_dissect_walfile_name()
Следующее
От: David Rowley
Дата:
Сообщение: pgsql: Improve the performance of the slab memory allocator