mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
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
This commit is contained in:
@@ -1623,6 +1623,7 @@ Material
|
||||
MaterialPath
|
||||
MaterialState
|
||||
MdfdVec
|
||||
MdPathStr
|
||||
Memoize
|
||||
MemoizeEntry
|
||||
MemoizeInstrumentation
|
||||
|
||||
Reference in New Issue
Block a user