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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: -D option of pg_resetwal is only works with absolute path
Date: 2018-05-23 14:08:33
Message-ID: 12370.1527084513@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

tushar <tushar(dot)ahuja(at)enterprisedb(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-05-23 15:20:24 Re: A Japanese-unfriendy error message contruction
Previous Message Sand Stone 2018-05-23 14:06:41 Re: dsa_allocate() faliure