From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres |
Date: | 2021-05-17 20:53:09 |
Message-ID: | 2854388.1621284789@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Michael Paquier <michael(at)paquier(dot)xyz> writes:
> Move tablespace path re-creation from the makefiles to pg_regress
So this didn't seem like a problem at the time, but while building
beta1 tarballs I discovered that it leaves behind "testtablespace"
subdirectories in various places where they aren't cleaned by
"make distclean", resulting in scary noise in my diff against the
tarballs:
Only in /home/postgres/pgsql/contrib/dblink: testtablespace
Only in /home/postgres/pgsql/contrib/file_fdw: testtablespace
Only in /home/postgres/pgsql/src/pl/plpgsql/src: testtablespace
This appears to be because pg_regress.c will now create the
tablespace directory in any directory that has an "input"
subdirectory (and that randomness is because somebody saw
fit to drop the code into convert_sourcefiles_in(), where
it surely has no business being, not least because that
means it's run twice).
(BTW, the reason we don't see git complaining about this seems
to be that it doesn't complain about empty subdirectories.)
I think what we want to do is have this code invoked only in
test directories that explicitly ask for it, say with a new
"--make-testtablespace" switch for pg_regress.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-05-17 21:51:54 | Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres |
Previous Message | Tom Lane | 2021-05-17 20:12:37 | pgsql: Stamp 14beta1. |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2021-05-17 20:56:54 | ICU bool problem |
Previous Message | Andres Freund | 2021-05-17 20:48:03 | Move pg_attribute.attcompression to earlier in struct for reduced size? |