Re: Fix typos and inconsistencies for v16 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix typos and inconsistencies for v16
Date
Msg-id 2549491.1681783869@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fix typos and inconsistencies for v16  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> On Tue, 18 Apr 2023 at 06:00, Alexander Lakhin <exclusion@gmail.com> wrote:
>> Also, maybe OID_MAX should be removed from src/include/postgres_ext.h as it's unused since eb8312a22.

> I didn't touch this. It seems like it could be useful for extensions
> and client apps even if it's not used in core.

Agreed, bad idea.  For better or worse, that's part of our client API now.

>> Beside that, this simple script:
>> for w in $(cat src/tools/pgindent/typedefs.list); do grep -q -P "\b$w\b" -r * --exclude typedefs.list || echo "$w";
done
>> detects 58 identifiers that don't exist in the source tree anymore (see typedefs.lost attached).
>> Maybe they should be removed from typedefs.list too.

> I didn't touch this either.  typedefs.list normally gets some work
> done during the pgindent run, which is likely going to happen around
> May or June.

Yeah, it will get refreshed from the buildfarm output [1] pretty soon.
A quick check says that as of today, that refresh would add 81 names
and remove 94.  (Seems like a remarkably high number of removals,
but I didn't dig further than counting the diff output.)

            regards, tom lane

[1] https://buildfarm.postgresql.org/cgi-bin/typedefs.pl?show_list



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Fix typos and inconsistencies for v16
Next
From: Tom Lane
Date:
Subject: Re: Scans are offloaded to SeqScan instead of CustomScan when there are multiple relations in the same query