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