Clean up checking for pg_dumpall output directory
authorAndrew Dunstan
Sun, 6 Apr 2025 21:00:58 +0000 (17:00 -0400)
committerAndrew Dunstan
Sun, 6 Apr 2025 21:04:58 +0000 (17:04 -0400)
commit643a1a61985bef25904965053020057200d4ae48
tree48f925a7c794ebb757804b9aac411549984e3bdf
parent218ab682751dfe75667456019364187758d4871a
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.
src/bin/pg_dump/pg_dumpall.c