Re: [COMMITTERS] pgsql: Fix pg_isolation_regress to work outside its build directory. - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [COMMITTERS] pgsql: Fix pg_isolation_regress to work outside its build directory.
Date
Msg-id CA+TgmoaVjLMe0e+Qi-aR3LsOKn2zJY2s8PgmoeD5kaL-uO6Fcg@mail.gmail.com
Whole thread Raw
List pgsql-hackers
On Tue, Nov 12, 2013 at 7:05 AM, Andres Freund <andres@2ndquadrant.com> wrote:
>> The only hack I currently can think of is to store argv[0] in a global
>> variable and to run the find_other_exec() in the first run through
>> isolation_start_test() :/.
>
> A patch to that end attached.
>
> Alternatively we could add a "startup_function startup" argument to
> regression_main() that's called later, when the environment is setup.

That might be a better long-term solution, although I'll defer to the
opinions of people who have worked on this code more than I have.  But
I've committed this for now, in the hopes of making the buildfarm
green again.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: What's needed for cache-only table scan?
Next
From: Andres Freund
Date:
Subject: Re: Errors on missing pg_subtrans/ files with 9.3