Move instrumentation-related structs to instrument_node.h
Álvaro Herrera <alvherre@kurilemu.de>
Move instrumentation-related structs to instrument_node.h Some structs and enums related to parallel query instrumentation had organically grown scattered across various files, and were causing header pollution especially through execnodes.h. Create a single file where they can live together. This only moves the structs to the new file; cleaning up the pollution by removing no-longer-necessary cross-header inclusion will be done in future commits. Co-authored-by: Álvaro Herrera <alvherre@kurilemu.de> Co-authored-by: Mario González <gonzalemario@gmail.com> Reviewed-by: Chao Li <li.evan.chao@gmail.com> Discussion: https://postgr.es/m/202510051642.wwmn4mj77wch@alvherre.pgsql Discussion: https://postgr.es/m/CAFsReFUr4KrQ60z+ck9cRM4WuUw1TCghN7EFwvV0KvuncTRc2w@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/bloom/blscan.c | modified | +1 −0 |
| src/backend/access/gin/ginscan.c | modified | +1 −0 |
| src/backend/access/gist/gistget.c | modified | +1 −0 |
| src/backend/access/hash/hashsearch.c | modified | +1 −0 |
| src/backend/access/nbtree/nbtsearch.c | modified | +1 −0 |
| src/backend/access/spgist/spgscan.c | modified | +1 −0 |
| src/backend/utils/sort/tuplesort.c | modified | +1 −1 |
| src/include/access/genam.h | modified | +1 −22 |
| src/include/executor/instrument_node.h | added | +211 −0 |
| src/include/nodes/execnodes.h | modified | +0 −140 |
| src/include/utils/tuplesort.h | modified | +1 −36 |
Discussion
- allow benign typedef redefinitions (C11) 23 messages · 2025-08-29 → 2025-10-05
- [PATCH} Move instrumentation structs 14 messages · 2025-11-10 → 2026-01-14