Revert "pg_resetwal: Improve error with wrong/missing data directory"

Peter Eisentraut <peter@eisentraut.org>

Commit: 5daa50f962bd06e49af690efc2a8a27fdd37fb7d
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2023-09-29T08:59:46Z
Releases: 17.0
Revert "pg_resetwal: Improve error with wrong/missing data directory"

This reverts commit 1d863c250461410e60c9ed5d3180f32336f4c3e2.

This broke specifying the data directory as a relative path.

Reported-by: Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>
Discussion: https://www.postgresql.org/message-id/flat/TYAPR01MB58664AD301F511B1EA5B72B4F5C0A%40TYAPR01MB5866.jpnprd01.prod.outlook.com

Files

PathChange+/−
src/bin/pg_resetwal/pg_resetwal.c modified +4 −4

Discussion