pg_resetwal: Improve error with wrong/missing data directory
Peter Eisentraut <peter@eisentraut.org>
pg_resetwal: Improve error with wrong/missing data directory Run chdir() before permission check to get a less confusing error message if the specified data directory does not exist. Reviewed-by: Aleksander Alekseev <aleksander@timescale.com> Discussion: https://www.postgresql.org/message-id/flat/0f3ab4a1-ae80-56e8-3426-6b4a02507687@eisentraut.org
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_resetwal/pg_resetwal.c | modified | +4 −4 |
Discussion
- pg_resetwal tests, logging, and docs update 11 messages · 2023-08-30 → 2023-11-06