Re: Support a wildcard in backtrace_functions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Support a wildcard in backtrace_functions
Date
Msg-id 1775094.1740584417@sss.pgh.pa.us
Whole thread Raw
In response to Re: Support a wildcard in backtrace_functions  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
Peter Eisentraut <peter@eisentraut.org> writes:
> I think the additions to typedefs.list are useless.  Since nothing 
> actually uses these types, the collection on the buildfarm won't find 
> any uses of them and thus won't include it in its list, and then the 
> next update from the buildfarm will overwrite your changes.

It's not quite that simple.  Lately, at least, we haven't just blindly
replaced typedefs.list with the buildfarm's list.  When I do it I do
a sanity check on the additions and removals, partly by seeing what
indentation changes result.  A manually-added typedef that happened
not to be in the buildfarm's list would probably survive, if removing
it resulted in any ugly changes.

Still, it is better to make sure the typedef is actually used to
declare some variables, so that you're not so dependent on the
amount of manual curation that happens.  If there's no place where
that can plausibly be done, maybe you don't need the typedef after
all?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Extend postgres_fdw_get_connections to return remote backend pid
Next
From: Tom Lane
Date:
Subject: Re: Statistics Import and Export