Re: pg_upgrade default ports in the --help output - Mailing list pgsql-general

From Виктор Егоров
Subject Re: pg_upgrade default ports in the --help output
Date
Msg-id CAGnEbojGi21Az+MbEOxOcUCvkuURPa_uy_QkVJH7P8QctZO56g@mail.gmail.com
Whole thread Raw
In response to Re: pg_upgrade default ports in the --help output  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: pg_upgrade default ports in the --help output  (Bruce Momjian <bruce@momjian.us>)
List pgsql-general
2012/10/4 Adrian Klaver <adrian.klaver@gmail.com>:
> http://www.postgresql.org/docs/9.2/static/pgupgrade.html
> "Obviously, no one should be accessing the clusters during the upgrade.
> pg_upgrade defaults to running servers on port 50432 to avoid unintended
> client connections. You can use the same port number for both clusters when
> doing an upgrade because the old and new clusters will not be running at the
> same time. However, when checking an old running server, the old and new
> port numbers must be different."

Should have checked the docs first, sorry for the noise.

>> Why is this different from:
>>    --with-pgport=PORTNUM   set default port number [5432]
>
> Where is this coming from?

./configure --help


--
Victor Y. Yegorov


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: pg_upgrade default ports in the --help output
Next
From: clear chan
Date:
Subject: Return dynamic columns of a temporary table