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

From Tom Lane
Subject Re: -D option of pg_resetwal is only works with absolute path
Date
Msg-id 12370.1527084513@sss.pgh.pa.us
Whole thread Raw
In response to -D option of pg_resetwal is only works with absolute path  (tushar <tushar.ahuja@enterprisedb.com>)
Responses Re: -D option of pg_resetwal is only works with absolute path  (David Steele <david@pgmasters.net>)
List 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 by date:

Previous
From: David Rowley
Date:
Subject: Re: Subplan result caching
Next
From: Tom Lane
Date:
Subject: Re: A Japanese-unfriendy error message contruction