> On 3 Jun 2022, at 18:26, Tom Lane <t...@sss.pgh.pa.us> wrote: > > Daniel Gustafsson <dan...@yesql.se> writes: >> Or we could revisit Tom's proposal in the thread that implemented the >> feature: >> to have timestamped directory names to get around this very problem? I think >> we should be able to figure out a way to make it easy enough for the BF code >> to >> figure out (and clean up). > > How about inserting an additional level of subdirectory? > > pg_upgrade_output.d/20220603122528/foo.log > > Then code doing "rm -rf pg_upgrade_output.d" needs no changes.
Off the cuff that seems like a good compromise. Adding Andrew on CC: for input on how that affects the buildfarm. -- Daniel Gustafsson https://vmware.com/