pgsql: Add braces for if block with large comment in psql's common.c - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Add braces for if block with large comment in psql's common.c
Date
Msg-id E1tlGuZ-000O1U-0b@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add braces for if block with large comment in psql's common.c

A patch touching this area of the code is under review, and this format
makes the readability of the code slightly harder to parse.

Extracted from a larger patch by the same author.

Author: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Discussion: https://postgr.es/m/CAO6_XqroE7JuMEm1sWz55rp9fAYX2JwmcP_3m_v51vnOFdsLiQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/40af897eb777bc8a6afca14195587e79e57a5c06

Modified Files
--------------
src/bin/psql/common.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: pgsql: Trial fix for old cross-version upgrades.
Next
From: Thomas Munro
Date:
Subject: pgsql: Fix explicit valgrind interaction in read_stream.c.