Change fmgr.h typedefs to use original names

Peter Eisentraut <peter@eisentraut.org>

Commit: 4bd91912987d794c48dd4ba4c337906bd23759be
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-09-15T09:04:10Z
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

Files

PathChange+/−
src/backend/utils/fmgr/fmgr.c modified +2 −3
src/include/fmgr.h modified +15 −15
src/include/utils/builtins.h modified +1 −1
src/tools/pgindent/typedefs.list modified +0 −4

Discussion