1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Change pg_upgrade to use port 50432 by default to avoid unintended

client connections during the upgrade.  Also rename data/bin/port
environment variables to being with 'PG'.  Also no longer honor PGPORT.
This commit is contained in:
Bruce Momjian
2011-07-01 18:17:12 -04:00
parent 897795240c
commit a88f4496b7
4 changed files with 35 additions and 25 deletions

View File

@ -15,6 +15,9 @@
#include "libpq-fe.h"
/* Use port in the private/dynamic port number range */
#define DEF_PGUPORT 50432
/* Allocate for null byte */
#define USER_NAME_SIZE 128