Re: Silent installation and port configuration with initdb=0

Поиск
Список
Период
Сортировка
От Gurjeet Singh
Тема Re: Silent installation and port configuration with initdb=0
Дата
Msg-id 65937bea0906150806t138f4f46g38270b86cb4629ef@mail.gmail.com
обсуждение исходный текст
Ответ на Silent installation and port configuration with initdb=0  (Ralf Butler <ralf.butler@web.de>)
Список pgsql-admin
On Mon, Jun 15, 2009 at 7:44 PM, Ralf Butler <ralf.butler@web.de> wrote:
Dear All,

I conduct a silent installation of PostgreSQL in windows. I would like
to specify a different port during installation. There is the argument
LISTENPORT which I could use. But the problem is that I set INITDB=0
during the silent installation and I read that LISTENPORT can be set
only when INITDB is 1.

The question is now how to specify the port during installation. Or is
there another way to do it via the commandline after installation?

 On a tangent, is there a way to specify a GUC variable's initial value when running initdb?

For eg., for setting port number at initdb, wouldn't it be helpful to say:

initdb -o "port=1521" -D /mydatadir

Just checked, PGPORT is (understandably) not honored by initdb.

Best regards,
--
Lets call it Postgres

EnterpriseDB      http://www.enterprisedb.com

gurjeet[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | indiatimes | yahoo }.com
Mail sent from my BlackLaptop device

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

Предыдущее
От: Gurjeet Singh
Дата:
Сообщение: Re: partition insert performance
Следующее
От: Iñigo Martinez Lasala
Дата:
Сообщение: Re: Log full with gigabyes of CurTransactionContex