From f276cf62d1ebb6dc4c501a5d1b397aeea6630fcb Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 13 May 2024 10:25:16 +0200 Subject: [PATCH 3/3] doc: Add standard Environment section to pg_upgrade ref page --- doc/src/sgml/ref/pgupgrade.sgml | 98 +++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml index 10c842adb14..9877f2f01c6 100644 --- a/doc/src/sgml/ref/pgupgrade.sgml +++ b/doc/src/sgml/ref/pgupgrade.sgml @@ -939,6 +939,104 @@ Reverting to old cluster + + Environment + + + Some environment variables can be used to provide defaults for command-line options: + + + + PGBINOLD + + + + The old PostgreSQL executable directory; option + /. + + + + + + PGBINNEW + + + + The new PostgreSQL executable directory; option + /. + + + + + + PGDATAOLD + + + + The old database cluster configuration directory; option + /. + + + + + + PGDATANEW + + + + The new database cluster configuration directory; option + /. + + + + + + PGPORTOLD + + + + The old cluster port number; option + /. + + + + + + PGPORTNEW + + + + The new cluster port number; option + /. + + + + + + PGSOCKETDIR + + + + Directory to use for postmaster sockets during upgrade; option + /. + + + + + + PGUSER + + + + Cluster's install user name; option + /. + + + + + + + Notes -- 2.44.0