pgsql: Revert "pg_resetwal: Improve error with wrong/missing data direc

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Revert "pg_resetwal: Improve error with wrong/missing data direc
Date: 2023-09-29 09:04:38
Message-ID: E1qm9QM-006bcT-Cu@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)hayato(at)fujitsu(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/TYAPR01MB58664AD301F511B1EA5B72B4F5C0A%40TYAPR01MB5866.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5daa50f962bd06e49af690efc2a8a27fdd37fb7d

Modified Files
--------------
src/bin/pg_resetwal/pg_resetwal.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-09-29 13:57:15 pgsql: doc: Change statistics function xref to the right target
Previous Message David Rowley 2023-09-29 03:59:01 pgsql: Robustify find_base_rel and find_base_rel_ignore_join