Sync typedefs.list with the buildfarm.
authorTom Lane
Sun, 15 Jun 2025 17:04:24 +0000 (13:04 -0400)
committerTom Lane
Sun, 15 Jun 2025 17:04:24 +0000 (13:04 -0400)
commitb27644bade0348d0dafd3036c47880a349fe9332
tree11143f8ef7ce7a06c2346f1642aa667b246a54e7
parent6d6480066c1a96c7130b97b1139fdada9d484f80
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.
16 files changed:
src/backend/utils/adt/mcxtfuncs.c
src/include/access/heapam.h
src/include/executor/nodeAgg.h
src/include/storage/aio.h
src/include/storage/copydir.h
src/include/storage/sinval.h
src/include/tcop/backend_startup.h
src/include/utils/elog.h
src/include/utils/skipsupport.h
src/pl/plpython/plpy_cursorobject.c
src/pl/plpython/plpy_planobject.c
src/pl/plpython/plpy_resultobject.c
src/pl/plpython/plpy_subxactobject.c
src/test/modules/test_aio/test_aio.c
src/tools/pgindent/pgindent
src/tools/pgindent/typedefs.list