Re: BUG #16484: pg_regress fails with --outputdir parameter

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Daniel Gustafsson <daniel@yesql.se>, r.zharkov@postgrespro.ru, pgsql-bugs@lists.postgresql.org
Date: 2020-06-09T05:55:06Z
Lists: pgsql-bugs
Michael Paquier <michael@paquier.xyz> writes:
> And this leads me to the attached.

That will create the output directory even if indir doesn't exist, which
seems likely to lead to bogus directories hanging around in places where
we don't need them --- plus it seems rather ugly to drop this into the
middle of the sequence concerned with indir.  So shouldn't the new code
be after the exit for indir not existing?

			regards, tom lane



Commits

  1. Create by default sql/ and expected/ for output directory in pg_regress