Re: pgsql: Use "template" data directory in tests

2023-08-27 Thread Michael Paquier
Hi Andres, On Thu, Aug 24, 2023 at 10:09:20PM +, Andres Freund wrote: > Use "template" data directory in tests > > When running all (or just many) of our tests, a significant portion of both > CPU time and IO is spent running initdb. Most of those initdb runs don't > specify any options influ

pgsql: Use "template" data directory in tests

2023-08-24 Thread Andres Freund
Use "template" data directory in tests When running all (or just many) of our tests, a significant portion of both CPU time and IO is spent running initdb. Most of those initdb runs don't specify any options influencing properties of the created data directory. Avoid most of that overhead by crea