Re: pgindent && weirdness

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Piotr Stefaniak <postgres(at)piotr-stefaniak(dot)me>
Subject: Re: pgindent && weirdness
Date: 2020-01-16 21:13:36
Message-ID: 20200116211336.GA4597@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2020-Jan-17, Thomas Munro wrote:

> On Thu, Jan 16, 2020 at 3:59 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> > On Wed, Jan 15, 2020 at 11:30 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-01-16 21:24:42 Re: making the backend's json parser work in frontend code
Previous Message Alvaro Herrera 2020-01-16 21:05:52 Re: psql - add SHOW_ALL_RESULTS option