From: David Steele <david@pgmasters.net>
To: Andrew Dunstan <andrew@dunslane.net>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Add tests for reinit.c
Date: Mon, 19 Mar 2018 09:03:50 -0400
Message-ID: <998b0442-d17c-47bf-0e92-5956d3f45448@pgmasters.net> (raw)
In-Reply-To: <CAD5tBc+V-6BO_8yGK3t8kNSw3pgLpEgYNJef7OMmoq3171_nHg@mail.gmail.com>
References: <E1ew64U-0000ZI-24@gemulon.postgresql.org>
<10418.1521157292@sss.pgh.pa.us>
<24564.1521172287@sss.pgh.pa.us>
<edba868f-e020-f828-5dcd-1fd3d7804011@pgmasters.net>
<CAD5tBc+V-6BO_8yGK3t8kNSw3pgLpEgYNJef7OMmoq3171_nHg@mail.gmail.com>
On 3/19/18 4:15 AM, Andrew Dunstan wrote:
>
> The attached fixes it. We should probably put the function or something
> like it in TestLib.pm, though. The call to pwd is quite tricky - it
> needs to be done pretty much exactly like this, not quite sure why, but
> direct calls to "pwd -W" via system() or backticks don't work, only this
> indirect call works on jacana.
Thanks for the patch, Andrew!
Peter, would you like me to provide a patch that moves this function to
TestLib.pm? Happy to do it, just don't want patches crossing in the
night, as it were.
Thanks,
--
-David
david@pgmasters.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: david@pgmasters.net, andrew@dunslane.net, peter_e@gmx.net, tgl@sss.pgh.pa.us, michael.paquier@gmail.com
Subject: Re: pgsql: Add tests for reinit.c
In-Reply-To: <998b0442-d17c-47bf-0e92-5956d3f45448@pgmasters.net>
References: <E1ew64U-0000ZI-24@gemulon.postgresql.org> <10418.1521157292@sss.pgh.pa.us> <24564.1521172287@sss.pgh.pa.us> <edba868f-e020-f828-5dcd-1fd3d7804011@pgmasters.net> <CAD5tBc+V-6BO_8yGK3t8kNSw3pgLpEgYNJef7OMmoq3171_nHg@mail.gmail.com> <998b0442-d17c-47bf-0e92-5956d3f45448@pgmasters.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox