Обсуждение: pgcrypto regression test: how can I change the port?

Поиск
Список
Период
Сортировка

pgcrypto regression test: how can I change the port?

От
"Colin E. Freas"
Дата:
I can't figure out how to change the port of the pgcrypto regression
tests...  I see how to change it in the regress.sh file, but, I can't
figure out how to invoke it with that option...  make has never been a
forte of mine.

I mean...  couldn't you just use ant?  :)

Colin

Re: pgcrypto regression test: how can I change the port?

От
"Colin E. Freas"
Дата:
Found the PGPORT variable.

But is there a way to invoke the tests with a different port from the
command line?

Colin E. Freas wrote:

>
> I can't figure out how to change the port of the pgcrypto regression
> tests...  I see how to change it in the regress.sh file, but, I can't
> figure out how to invoke it with that option...  make has never been a
> forte of mine.
>
> I mean...  couldn't you just use ant?  :)
>
> Colin
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>


Re: pgcrypto regression test: how can I change the port?

От
Michael Fuhr
Дата:
On Thu, Aug 25, 2005 at 08:21:11PM -0400, Colin E. Freas wrote:
> Found the PGPORT variable.
>
> But is there a way to invoke the tests with a different port from the
> command line?

You should be able to set variables like PGPORT, PGUSER, PGHOST,
etc., on make's command line:

make PGPORT=12345 installcheck

Some systems have an "env" command that runs a command with a
modified environment:

env PGPORT=12345 make installcheck

--
Michael Fuhr