pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add braces for if block with large comment in psql's common.c
Date: Fri, 21 Feb 2025 00:28:57 +0000
Message-ID: <E1tlGuZ-000O1U-0b@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1tlGuZ-000O1U-0b@gemulon.postgresql.org>
Permalink:  ../E1tlGuZ-000O1U-0b@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tlGuZ-000O1U-0b@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add braces for if block with large comment in psql's common.c
  In-Reply-To: <E1tlGuZ-000O1U-0b@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox