Re: [COMMITTERS] pgsql: Fix pg_isolation_regress to work outside its build directory.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [COMMITTERS] pgsql: Fix pg_isolation_regress to work outside its build directory.
Дата
Msg-id CA+TgmoaVjLMe0e+Qi-aR3LsOKn2zJY2s8PgmoeD5kaL-uO6Fcg@mail.gmail.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: What's needed for cache-only table scan?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Errors on missing pg_subtrans/ files with 9.3