pgsql: Clean up checking for pg_dumpall output directory - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Clean up checking for pg_dumpall output directory
Date
Msg-id E1u1XB7-0030yJ-1z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: fix PDF "contents ... exceed the available area" warnings.
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: pg_upgrade: Fix inconsistency in memory freeing