Re: Silent installation and port configuration with initdb=0 - Mailing list pgsql-admin

From Gurjeet Singh
Subject Re: Silent installation and port configuration with initdb=0
Date
Msg-id 65937bea0906150806t138f4f46g38270b86cb4629ef@mail.gmail.com
Whole thread Raw
In response to Silent installation and port configuration with initdb=0  (Ralf Butler <ralf.butler@web.de>)
List 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 by date:

Previous
From: Gurjeet Singh
Date:
Subject: Re: partition insert performance
Next
From: Iñigo Martinez Lasala
Date:
Subject: Re: Log full with gigabyes of CurTransactionContex