Re: Silent installation and port configuration with initdb=0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 15, 2009 at 7:44 PM, Ralf Butler <ralf.butler@xxxxxx> 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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux