pgsql: Change fmgr.h typedefs to use original names - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Change fmgr.h typedefs to use original names
Date
Msg-id E1uy59D-000oCa-0z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Resume conflict-relevant data retention automatically.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: CREATE STATISTICS: improve misleading error message