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

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Steele <david@pgmasters.net>
Cc: tushar <tushar.ahuja@enterprisedb.com>, Stephen Frost <sfrost@snowman.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-05-23T15:35:29Z
Lists: pgsql-hackers
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.

			regards, tom lane


Commits

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