Re: -D option of pg_resetwal is only works with absolute path

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: -D option of pg_resetwal is only works with absolute path
Дата
Msg-id 12370.1527084513@sss.pgh.pa.us
обсуждение исходный текст
Ответ на -D option of pg_resetwal is only works with absolute path  (tushar <tushar.ahuja@enterprisedb.com>)
Ответы Re: -D option of pg_resetwal is only works with absolute path  (David Steele <david@pgmasters.net>)
Список pgsql-hackers
tushar <tushar.ahuja@enterprisedb.com> writes:
> In the  latest PG v11,  found that  -D option of pg_resetwal is only 
> works with absolute path .. not with relative path

Confirmed here.  This did work in previous releases, so I'd say it's
unquestionably a bug.

[ diffs v10 against head... ]

Seems to be caused by careless placement of new umask-changing code.
I wonder how many other places that patch broke similarly.

            regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Subplan result caching
Следующее
От: Tom Lane
Дата:
Сообщение: Re: A Japanese-unfriendy error message contruction