Revert "pg_resetwal: Improve error with wrong/missing data directory"
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 29 Sep 2023 08:59:46 +0000 (10:59 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 29 Sep 2023 08:59:46 +0000 (10:59 +0200)
commit5daa50f962bd06e49af690efc2a8a27fdd37fb7d
tree635ab6d05a3f6b6f6545f56ccf163ea439344f1e
parentd40d8272190ce5f1641b9afb83a3752101af6a38
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
src/bin/pg_resetwal/pg_resetwal.c