Re: [HACKERS] PG10 pgindent run - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [HACKERS] PG10 pgindent run
Date
Msg-id 65470a04-2472-9eea-58f6-1d6468bc690f@2ndQuadrant.com
Whole thread Raw
In response to Re: [HACKERS] PG10 pgindent run  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

On 05/16/2017 08:39 PM, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
>> There we go:
>> https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=calliphoridae&dt=2017-05-16%2023:16:53&stg=typedefs
> Yup, looks good now.  Thanks!
>
> BTW, comparing the typedef list to what I got a few hours ago, I see
> that "Function" is now a known type name, along with the UWhatever
> symbols from ICU.  I wonder where that came from?  A quick grep
> suggests that it's not going to mess anything up too badly, but it
> sure seems like a poor choice for a globally visible typedef name.
>
>             


There is a place in pgindent around line 139 where we filter out
typedefs we don't want. You could add it there of you were so inclined.
I agree this seems like a remarkably bad choice of name.

cheers

andrew

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




pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Re: [doc fix] PG10: wroing description onconnect_timeout when multiple hosts are specified
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] PG10 pgindent run