pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve indenting in _hash_pgaddtup
Date: Thu, 24 Nov 2022 21:11:11 +0000
Message-ID: <E1oyJV0-000frt-Oa@gemulon.postgresql.org> (raw)

Improve indenting in _hash_pgaddtup

The Assert added in d09dbeb9b came out rather ugly after having run
pgindent on that code.  Here we adjust things to use some local variables
so that the Assert remains within the 80-character margin.

Author: Ted Yu
Discussion: https://postgr.es/m/CALte62wLSir1=x93Jf0xZvHaO009FEJfhVMFwnaR8q=csPP8kQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ec5affdbc283252327e217f99c45574eb63de051

Modified Files
--------------
src/backend/access/hash/hashinsert.c | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)



Message-ID: <E1oyJV0-000frt-Oa@gemulon.postgresql.org>
Permalink:  ../E1oyJV0-000frt-Oa@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oyJV0-000frt-Oa@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: drowley@postgresql.org
  Subject: Re: pgsql: Improve indenting in _hash_pgaddtup
  In-Reply-To: <E1oyJV0-000frt-Oa@gemulon.postgresql.org>
  References: <E1oyJV0-000frt-Oa@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