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

David Steele <david@pgmasters.net>

From: David Steele <david@pgmasters.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: tushar <tushar.ahuja@enterprisedb.com>, Stephen Frost <sfrost@snowman.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-05-23T15:40:48Z
Lists: pgsql-hackers
On 5/23/18 11:35 AM, Tom Lane wrote:
> David Steele <david@pgmasters.net> writes:
>> On 5/23/18 10:08 AM, Tom Lane wrote:
>>> 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.
> 
> I pushed a patch already, although certainly an additional pair of eyes
> on the issue would be good.

Looks good to me.  Thanks!

-- 
-David
david@pgmasters.net


Commits

  1. Fix incorrect ordering of operations in pg_resetwal and pg_rewind.