pgsql: Sync typedefs.list with the buildfarm.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Sync typedefs.list with the buildfarm.
Date: 2025-06-15 17:08:39
Message-ID: E1uQqqU-001neU-2y@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Sync typedefs.list with the buildfarm.

Our maintenance of typedefs.list has been a little haphazard
(and apparently we can't alphabetize worth a darn). Replace
the file with the authoritative list from our buildfarm, and
run pgindent using that.

I also updated the additions/exclusions lists in pgindent where
necessary to keep pgindent from messing things up significantly.
Notably, now that regex_t and some related names are macros not real
typedefs, we have to whitelist them explicitly. The exclusions list
has also drifted noticeably, presumably due to changes of system
headers on the buildfarm animals that contribute to the list.

Unlike in prior years, I've not manually added typedef names that
are missing from the buildfarm's list because they are not used to
declare any variables or fields. So there are a few places where
the typedef declaration itself is formatted worse than before,
e.g. typedef enum IoMethod. I could preserve the names that were
manually added to the list previously, but I'd really prefer to find
a less manual way of dealing with these cases. A quick grep finds
about 75 such symbols, most of which have never gotten any special
treatment.

Per discussion among pgsql-release, doing this now seems appropriate
even though we're still a week or two away from making the v18 branch.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b27644bade0348d0dafd3036c47880a349fe9332

Modified Files
--------------
src/backend/utils/adt/mcxtfuncs.c | 2 +-
src/include/access/heapam.h | 2 +-
src/include/executor/nodeAgg.h | 2 +-
src/include/storage/aio.h | 2 +-
src/include/storage/copydir.h | 2 +-
src/include/storage/sinval.h | 2 +-
src/include/tcop/backend_startup.h | 2 +-
src/include/utils/elog.h | 2 +-
src/include/utils/skipsupport.h | 2 +-
src/pl/plpython/plpy_cursorobject.c | 6 +-
src/pl/plpython/plpy_planobject.c | 6 +-
src/pl/plpython/plpy_resultobject.c | 6 +-
src/pl/plpython/plpy_subxactobject.c | 6 +-
src/test/modules/test_aio/test_aio.c | 4 +-
src/tools/pgindent/pgindent | 9 ++-
src/tools/pgindent/typedefs.list | 145 +++++++++++++++++++++--------------
16 files changed, 116 insertions(+), 84 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-06-15 17:11:27 pgsql: Add commit b27644bad to .git-blame-ignore-revs.
Previous Message Peter Eisentraut 2025-06-15 09:13:00 pgsql: psql: Change new \conninfo to use SSL instead of TLS