Re: pgindent vs dtrace on macos - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgindent vs dtrace on macos
Date
Msg-id 66137.1600303192@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgindent vs dtrace on macos  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: pgindent vs dtrace on macos
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2020-Sep-16, Tom Lane wrote:
>> 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

It strikes me that a low-cost workaround would be to rename these
C functions.  There's no law that their C names must match the
SQL names.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Gripes about walsender command processing
Next
From: Tatsuo Ishii
Date:
Subject: Re: Implementing Incremental View Maintenance