pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Piotr Stefaniak <postgres@piotr-stefaniak.me>
Subject: Re: pgindent && weirdness
Date: Thu, 16 Jan 2020 18:13:36 -0300
Message-ID: <20200116211336.GA4597@alvherre.pgsql> (raw)
In-Reply-To: <CA+hUKGJqy2Vy5pLzHg70=LivBUbFVALmcZ0OLBkJa9-iSq7wLQ@mail.gmail.com>

On 2020-Jan-17, Thomas Munro wrote:

> On Thu, Jan 16, 2020 at 3:59 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> > On Wed, Jan 15, 2020 at 11:30 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > > Yeah, it's been doing that for decades.  I think the triggering
> > > factor is the typedef name (Var, here) preceding the &&.
> 
> Here's a better fix:

This is indeed a very good fix!  Several badly formatted sites in our
code are improved with this change.

Thanks,

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (51+ messages)  latest in thread

Message-ID: <20200116211336.GA4597@alvherre.pgsql>
Permalink:  ../20200116211336.GA4597@alvherre.pgsql/
Also on:    postgresql.org/message-id/20200116211336.GA4597@alvherre.pgsql

 · 

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-hackers@postgresql.org
  Cc: alvherre@2ndquadrant.com, thomas.munro@gmail.com, tgl@sss.pgh.pa.us, postgres@piotr-stefaniak.me
  Subject: Re: pgindent && weirdness
  In-Reply-To: <20200116211336.GA4597@alvherre.pgsql>
  References: <CA+hUKGJqy2Vy5pLzHg70=LivBUbFVALmcZ0OLBkJa9-iSq7wLQ@mail.gmail.com> <20200116211336.GA4597@alvherre.pgsql>

* 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