-D option of pg_resetwal is only works with absolute path

Поиск
Список
Период
Сортировка
От tushar
Тема -D option of pg_resetwal is only works with absolute path
Дата
Msg-id aeb9c3a7-3c3f-a57f-1a18-c8d4fcdc2a1f@enterprisedb.com
обсуждение исходный текст
Ответы Re: -D option of pg_resetwal is only works with absolute path  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: SCRAM with channel binding downgrade attack
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: SCRAM with channel binding downgrade attack