-D option of pg_resetwal is only works with absolute path

From: tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: -D option of pg_resetwal is only works with absolute path
Date: 2018-05-23 06:04:19
Message-ID: aeb9c3a7-3c3f-a57f-1a18-c8d4fcdc2a1f@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

In the  latest PG v11,  found that  -D option of pg_resetwal is only
works with absolute path .. not with relative path

e.g

Not Working -

[centos(at)localhost bin]$ ./pg_resetwal -D data
pg_resetwal: could not read permissions of directory "data": No such
file or directory

Working -

[centos(at)localhost bin]$ ./pg_resetwal -D
/home/centos/pg11_22may/postgresql/edbpsql/bin/data
Write-ahead log reset

Is this something expected  in v11 ?

--
regards,tushar
EnterpriseDB https://www.enterprisedb.com/
The Enterprise PostgreSQL Company

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2018-05-23 06:46:14 Re: SCRAM with channel binding downgrade attack
Previous Message Michael Paquier 2018-05-23 05:42:08 Re: SCRAM with channel binding downgrade attack