Re: [COMMITTERS] pgsql: Fix pg_isolation_regress to work outside its build directory.
Re: [COMMITTERS] pgsql: Fix pg_isolation_regress to work outside its build directory.
От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Tue, Nov 12, 2013 at 7:05 AM, Andres Freund 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