diff options
author | Andres Freund | 2025-02-25 14:02:07 +0000 |
---|---|---|
committer | Andres Freund | 2025-02-25 14:02:07 +0000 |
commit | ecbff4378beecb0b1d12fc758538005a69821db1 (patch) | |
tree | 2a30c19301a932d20d4fb197b19a7d6eadcbcece /src/include/pgstat.h | |
parent | 37c87e63f9e1a2d76db54fedcdf91d3895d200a6 (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/include/pgstat.h')
0 files changed, 0 insertions, 0 deletions