]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve ExplainState type handling in header files
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 15 Sep 2025 08:48:30 +0000 (10:48 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 15 Sep 2025 09:04:10 +0000 (11:04 +0200)
commit70407d39b7ea8fd41496489b5f6a30c285e7d7d0
tree28d5953d89105b1caa19f7cff9554e49a1fa6f0d
parent1e3b5edb8eb236f16529ca8dae917996ad1f433e
Improve ExplainState type handling in header files

Now that we can have repeat typedefs with C11, we don't need to use
"struct ExplainState" anymore but can instead make a typedef where
necessary.  This doesn't change anything but makes it look nicer.

(There are more opportunities for similar changes, but this is broken
out because there was a separate discussion about it, and it's
somewhat bulky on its own.)

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f36c0a45-98cd-40b2-a7cc-f2bf02b12890%40eisentraut.org#a12fb1a2c1089d6d03010f6268871b00
Discussion: https://www.postgresql.org/message-id/flat/10d32190-f31b-40a5-b177-11db55597355@eisentraut.org
doc/src/sgml/fdwhandler.sgml
src/include/commands/explain.h
src/include/commands/explain_dr.h
src/include/commands/explain_format.h
src/include/commands/explain_state.h
src/include/foreign/fdwapi.h