summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorAndres Freund2025-02-25 14:02:07 +0000
committerAndres Freund2025-02-25 14:02:07 +0000
commitecbff4378beecb0b1d12fc758538005a69821db1 (patch)
tree2a30c19301a932d20d4fb197b19a7d6eadcbcece /src/tools
parent37c87e63f9e1a2d76db54fedcdf91d3895d200a6 (diff)
Change _mdfd_segpath() to return paths by value
This basically mirrors the changes done in the predecessor commit. While there isn't currently a need to get these paths in critical sections, it seems a shame to unnecessarily allocate memory in these paths now that relpath() doesn't allocate anymore. Discussion: https://postgr.es/m/xeri5mla4b5syjd5a25nok5iez2kr3bm26j2qn4u7okzof2bmf@kwdh2vf7npra
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/pgindent/typedefs.list1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list
index 4200cf2fee8..1649f5e1011 100644
--- a/src/tools/pgindent/typedefs.list
+++ b/src/tools/pgindent/typedefs.list
@@ -1623,6 +1623,7 @@ Material
MaterialPath
MaterialState
MdfdVec
+MdPathStr
Memoize
MemoizeEntry
MemoizeInstrumentation