Improve ExplainState type handling in header files
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2025-09-15T09:04:10Z
Releases:
19 (unreleased)
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/fdwhandler.sgml | modified | +1 −1 |
| src/include/commands/explain_dr.h | modified | +3 −2 |
| src/include/commands/explain_format.h | modified | +19 −18 |
| src/include/commands/explain.h | modified | +12 −12 |
| src/include/commands/explain_state.h | modified | +1 −1 |
| src/include/foreign/fdwapi.h | modified | +5 −5 |
Discussion
- allow benign typedef redefinitions (C11) 23 messages · 2025-08-29 → 2025-10-05
Cited messages not in the archive:
f36c0a45-98cd-40b2-a7cc-f2bf02b12890@eisentraut.org#a12fb1a2c1089d6d03010f6268871b00