pgsql: Fix coding style with "else".

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix coding style with "else".
Date: 2025-10-23 02:05:35
Message-ID: E1vBkhr-00333j-2D@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(at)highgo(dot)com>
Suggested-by: David Rowley <dgrowleyml(at)gmail(dot)com>
Author: Tatsuo Ishii <ishii(at)postgresql(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2025-10-23 04:27:25 pgsql: Add comments explaining overflow entries in the replication lag
Previous Message David Rowley 2025-10-23 00:39:01 pgsql: Fix some misplaced comments in parallel_schedule