Re: pgindent vs dtrace on macos

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgindent vs dtrace on macos
Date: 2020-09-17 00:03:34
Message-ID: 20200917000334.GA28142@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2020-Sep-16, Tom Lane wrote:

> Daniel Gustafsson <daniel(at)yesql(dot)se> writes:

> > Not sure what pgindent is doing there, but it seems hard to address in the
> > generator.
>
> I think the issue is that pgindent believes "numeric" and "chr" are
> typedefs. (The regex code can be blamed for "chr", but I'm not quite
> sure where "numeric" is coming from.)

It's in src/interfaces/ecpg/include/pgtypes_numeric.h

--
Á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 David G. Johnston 2020-09-17 00:12:29 Re: DROP relation IF EXISTS Docs and Tests - Bug Fix
Previous Message David G. Johnston 2020-09-17 00:01:33 Re: DROP relation IF EXISTS Docs and Tests - Bug Fix