-D option of pg_resetwal is only works with absolute path - Mailing list pgsql-hackers

From tushar
Subject -D option of pg_resetwal is only works with absolute path
Date
Msg-id aeb9c3a7-3c3f-a57f-1a18-c8d4fcdc2a1f@enterprisedb.com
Whole thread Raw
Responses Re: -D option of pg_resetwal is only works with absolute path
List 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@localhost bin]$ ./pg_resetwal -D data
pg_resetwal: could not read permissions of directory "data": No such 
file or directory

Working -

[centos@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



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: SCRAM with channel binding downgrade attack
Next
From: Heikki Linnakangas
Date:
Subject: Re: SCRAM with channel binding downgrade attack