diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-06-13 14:04:56 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-06-13 14:04:56 +0900 |
commit | e78900afd217fa3eaa77c51e23a94c1466af421c (patch) | |
tree | c32c34684aa992697933e2f5f171530cf013ce40 /src/backend/utils/adt/numeric.c | |
parent | 64725728e790b76c97984b1029d9ffe90bcb2ec4 (diff) | |
download | postgresql-e78900afd217fa3eaa77c51e23a94c1466af421c.tar.gz postgresql-e78900afd217fa3eaa77c51e23a94c1466af421c.zip |
Create by default sql/ and expected/ for output directory in pg_regress
Using --outputdir with a custom output repository has never created by
default the sql/ and expected/ paths generated with contents from
respectively input/ and output/ if they don't exist, while the base
output directory gets created if it does not exist. If sql/ and
expected/ are not present, pg_regress would fail with the path missing,
requiring test scripts to create those extra paths by themselves. This
commit changes pg_regress so as both get created by default if they do
not exist, removing the need for external test scripts to do so.
This cleans up two code paths in the tree for pg_upgrade tests in MSVC
and environments able to use test.sh. sql/ and expected/ were created
as part of each test script, but this is not needed anymore as
pg_regress handles the work now.
Author: Roman Zharkov, Daniel Gustafsson
Reviewed-by: Michael Paquier, Tom Lane
Discussion: https://postgr.es/m/16484-4d89e9cc11241996@postgresql.org
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions