Further cleanup for directory creation on pg_dump/pg_dumpall

Andrew Dunstan <andrew@dunslane.net>

Commit: 4170298b6ecff7ce697b81e13d9a81e3b825798c
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2025-04-10T16:11:36Z
Releases: 18.0
Further cleanup for directory creation on pg_dump/pg_dumpall

Instead of two separate (and different) implementations, refactor to use
a single common routine.

Along the way, remove use of a hardcoded file permissions constant in
favor of the common project setting for directory creation.

Author: Mahendra Singh Thalor <mahi6run@gmail.com>

Discussion: https://postgr.es/m/CAKYtNApihL8X1h7XO-zOjznc8Ca66Aevgvhc9zOTh6DBh2iaeA@mail.gmail.com

Files

Discussion