Re: pg_upgrade defaulting to port 25432
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Bruce Momjian <bruce@momjian.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Christopher Browne <cbbrowne@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-06-24T13:04:12Z
Lists: pgsql-hackers
On tor, 2011-06-23 at 21:39 -0400, Bruce Momjian wrote: > I have created the following patch which uses 25432 as the default port > number for pg_upgrade. I don't think we should just steal a port from the reserved range. Picking a random port from the private/dynamic range seems more appropriate. > It also creates two new environment variables, > OLDPGPORT and NEWPGPORT, to control the port values because we don't > want to default to PGPORT anymore. I would prefer that all PostgreSQL-related environment variables start with "PG".