From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Change fmgr.h typedefs to use original names
Date: Mon, 15 Sep 2025 09:05:19 +0000
Message-ID: <E1uy59D-000oCa-0z@gemulon.postgresql.org> (raw)
Change fmgr.h typedefs to use original names
fmgr.h defined some types such as fmNodePtr which is just Node *, but
it made its own types to avoid having to include various header files.
With C11, we can now instead typedef the original names without fear
of conflicts.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/10d32190-f31b-40a5-b177-11db55597355@eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4bd91912987d794c48dd4ba4c337906bd23759be
Modified Files
--------------
src/backend/utils/fmgr/fmgr.c | 5 ++---
src/include/fmgr.h | 30 +++++++++++++++---------------
src/include/utils/builtins.h | 2 +-
src/tools/pgindent/typedefs.list | 4 ----
4 files changed, 18 insertions(+), 23 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Change fmgr.h typedefs to use original names
In-Reply-To: <E1uy59D-000oCa-0z@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox