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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: David Steele <david(at)pgmasters(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, 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 23:45:03
Message-ID: 20180523234503.GB15445@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 23, 2018 at 11:40:48AM -0400, David Steele wrote:
> On 5/23/18 11:35 AM, Tom Lane wrote:
>> I pushed a patch already, although certainly an additional pair of eyes
>> on the issue would be good.
>
> Looks good to me. Thanks!

The TAP tests cannot catch that as all paths are absolute in
PostgresNode.pm. We could easily have tests using chdir though.
Thoughts?
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-05-23 23:46:27 Re: SCRAM with channel binding downgrade attack
Previous Message Michael Paquier 2018-05-23 23:42:51 Re: [PATCH v14] GSSAPI encryption support