diff options
author | Andres Freund <andres@anarazel.de> | 2025-02-25 09:02:07 -0500 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2025-02-25 09:02:07 -0500 |
commit | ecbff4378beecb0b1d12fc758538005a69821db1 (patch) | |
tree | 2a30c19301a932d20d4fb197b19a7d6eadcbcece /src/backend/access/transam/xlogreader.c | |
parent | 37c87e63f9e1a2d76db54fedcdf91d3895d200a6 (diff) | |
download | postgresql-ecbff4378beecb0b1d12fc758538005a69821db1.tar.gz postgresql-ecbff4378beecb0b1d12fc758538005a69821db1.zip |
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/backend/access/transam/xlogreader.c')
0 files changed, 0 insertions, 0 deletions