git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7273945) | patch
pg_resetwal: Improve error with wrong/missing data directory
2023年9月28日 09:40:00 +0000 (11:40 +0200)
2023年9月28日 09:40:00 +0000 (11:40 +0200)
commit 1d863c250461410e60c9ed5d3180f32336f4c3e2
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
src/bin/pg_resetwal/pg_resetwal.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /