Re: pgindent && weirdness - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pgindent && weirdness
Date
Msg-id 20200116211336.GA4597@alvherre.pgsql
Whole thread Raw
In response to Re: pgindent && weirdness  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: pgindent && weirdness  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: psql - add SHOW_ALL_RESULTS option
Next
From: Tom Lane
Date:
Subject: Re: making the backend's json parser work in frontend code