Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.
Дата
Msg-id 2276280.1634766519@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-committers
Andrew Dunstan <andrew@dunslane.net> writes:
> OK, it turns out that it's better to put the addition at the end of the
> PATH, otherise initdb complains that it can't find postgres in the same
> directory.

That seems horribly unsafe, or at least prone to pulling in the
program from some other versuion of Postgres.  How about ordering
the path like

PATH="$(abs_top_builddir)/tmp_install$(bindir):$(CURDIR):$$PATH"

            regards, tom lane



В списке pgsql-committers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve pg_regress.c's infrastructure for issuing psql commands.