pgsql: Apply a better fix to mdunlinkfork().

2022-11-09 Thread Tom Lane
Apply a better fix to mdunlinkfork(). Replace the stopgap fix I made in 0e758ae89 with a cleaner one. The real problem with 4ab5dae94 is that it contorted this function's logic substantially, by introducing a third code path that required different behavior in the function's main loop. That seem

pgsql: Apply a better fix to mdunlinkfork().

2022-11-09 Thread Tom Lane
Apply a better fix to mdunlinkfork(). Replace the stopgap fix I made in 0e758ae89 with a cleaner one. The real problem with 4ab5dae94 is that it contorted this function's logic substantially, by introducing a third code path that required different behavior in the function's main loop. That seem