Closed lbartoletti closed 6 years ago
Do you also want to remove the export PGSERVICE
statements from init_qwat.sh
, tests.sh
, tests_scalability.sh
and tests_scalability_multithread.sh
?
Just one comment, otherwise +1 with making this explicit.
yak shaving was near :)
Ready for merge ?
Yes
I just tested init_qwat.sh
with your patch applied. Both
$ ./init_qwat.sh -p qwat -s 21781 -d -r
and
$ PGSERVICE=qwat ./init_qwat.sh -s 21781 -d -r
worked perfectly.
Now I did not bother running all the other scripts.
Good to merge to me. Thanks @lbartoletti.
A service is required and it's explicit with this command. This adds security in case when the service is not found/exported. (I found one case, that I need to investigate).