pgsql: Fix coding style with "else". - Mailing list pgsql-committers

From Tatsuo Ishii
Subject pgsql: Fix coding style with "else".
Date
Msg-id E1vBkhr-00333j-2D@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix coding style with "else".

The "else" code block having single statement with comments on a
separate line should have been surrounded by braces.

Reported-by: Chao Li <lic@highgo.com>
Suggested-by: David Rowley <dgrowleyml@gmail.com>
Author: Tatsuo Ishii <ishii@postgresql.org>
Discussion: https://postgr.es/m/20251020.125847.997839131426057290.ishii%40postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/20628b62e46e3a2e66c3bb9396720077c7c47018

Modified Files
--------------
src/backend/executor/nodeWindowAgg.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Fix some misplaced comments in parallel_schedule
Next
From: Fujii Masao
Date:
Subject: pgsql: Add comments explaining overflow entries in the replication lag