Re: GetRelationPath() vs critical sections
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@gmail.com>, Andy Fan <zhihuifan1213@163.com>, pgsql-hackers@postgresql.org,
Noah Misch <noah@leadboat.com>, Michael Paquier <michael.paquier@gmail.com>
Date: 2025-02-25T14:24:00Z
Lists: pgsql-hackers
Hi, On 2025-02-24 10:50:21 -0500, Andres Freund wrote: > Since I've not heard anything on that point, I'm currently thinking with going > with return-by-value. Attached are two very mildly updated patches. Most of > the changes is added commit messages. And pushed. Greetings, Andres Freund
Commits
-
Change _mdfd_segpath() to return paths by value
- ecbff4378bee 18.0 landed
-
Change relpath() et al to return path by value
- 37c87e63f9e1 18.0 landed