Thread: pgsql: Clean up checking for pg_dumpall output directory

pgsql: Clean up checking for pg_dumpall output directory

From
Andrew Dunstan
Date:
Clean up checking for pg_dumpall output directory

Coverity objected to the original code, and in any case this is much
cleaner, using the existing routine pg_check_dir() instead of rolling
its own test.

Per suggestion from Tom Lane.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/643a1a61985bef25904965053020057200d4ae48

Modified Files
--------------
src/bin/pg_dump/pg_dumpall.c | 58 +++++++++++++++-----------------------------
1 file changed, 20 insertions(+), 38 deletions(-)