agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: Sync typedefs.list with the buildfarm.
2+ messages / 2 participants
[nested] [flat]

* pgsql: Sync typedefs.list with the buildfarm.
@ 2025-06-15 17:08 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2025-06-15 17:08 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Sync typedefs.list with the buildfarm.
@ 2026-06-29 19:16 Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Joe Conway @ 2026-06-29 19:16 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Sync typedefs.list with the buildfarm.

Replace typedefs.list with the authoritative list from our buildfarm, and
run pgindent using that.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3f815dd11374b54deb29228dc0040179864af828

Modified Files
--------------
src/tools/pgindent/typedefs.list | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-06-29 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-06-15 17:08 pgsql: Sync typedefs.list with the buildfarm. Tom Lane <tgl@sss.pgh.pa.us>
2026-06-29 19:16 pgsql: Sync typedefs.list with the buildfarm. Joe Conway <mail@joeconway.com>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox