From 0dc3f57ba0aa9a99308d3d097eeb2cbcbd5fb52c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 10 Oct 2011 07:43:28 -0400 Subject: In pg_upgrade, add -o/-O options to pass parameters to the servers, and document its use for config-only directory installs. --- doc/src/sgml/pgupgrade.sgml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/pgupgrade.sgml b/doc/src/sgml/pgupgrade.sgml index 0d084243a86..460d06b6e03 100644 --- a/doc/src/sgml/pgupgrade.sgml +++ b/doc/src/sgml/pgupgrade.sgml @@ -114,6 +114,20 @@ log session activity to file + + options + options + options to be passed directly to the + old postgres command + + + + options + options + options to be passed directly to the + new postgres command + + old_port_number old_portnum @@ -559,6 +573,14 @@ psql --username postgres --file script.sql postgres insert dummy data, and upgrade that. + + If you are upgrading a pre-PostgreSQL 9.2 cluster + that uses a configuration-file-only directory, you must pass the + real data directory location to pg_upgrade, and + pass the configuration directory location to the server, e.g. + -d /real-data-directory -o '-D /configuration-directory'. + + If you want to use link mode and you don't want your old cluster to be modified when the new cluster is started, make a copy of the -- cgit v1.2.3