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

Поиск
Список
Период
Сортировка
От David Steele
Тема Re: -D option of pg_resetwal is only works with absolute path
Дата
Msg-id 0444b276-a7c3-57fe-0b5a-04928aed177c@pgmasters.net
обсуждение исходный текст
Ответ на Re: -D option of pg_resetwal is only works with absolute path  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: -D option of pg_resetwal is only works with absolute path  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 5/23/18 10:08 AM, Tom Lane wrote:
> 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.

I'll look into this today.

-- 
-David
david@pgmasters.net


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: A Japanese-unfriendy error message contruction
Следующее
От: Tom Lane
Дата:
Сообщение: Re: -D option of pg_resetwal is only works with absolute path