From: Bruce Momjian <bruce@momjian.us>
To: bernhard.schrader@innogames.de
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7683: pg_upgrade missing configuration file
Date: Fri, 23 Nov 2012 17:44:21 -0500
Message-ID: <20121123224421.GC22603@momjian.us> (raw)
In-Reply-To: <E1Talv7-0008NC-K8@wrigleys.postgresql.org>
References: <E1Talv7-0008NC-K8@wrigleys.postgresql.org>
On Tue, Nov 20, 2012 at 11:23:13AM +0000, bernhard.schrader@innogames.de wrote:
> To point this out, postgresql 9.0 and 9.2 are not running, if 9.0 is
> running, the 9.0 tests succeed, but afaik they shouldn't running, or at
> least 9.2 shouldn't running during upgrade, but without the link to the
> config it will never start. The same for 9.0, if it is shut down and the
> link is present, it works. I assume this is a "bug" or at least a missing
> option for pg_upgrade in addition to debian. Do you confirm? Or do i
> undestand something completly wrong? I hope not, thanks in advance
Have you seen this in the pg_upgrade 9.2 manual?
If you are upgrading a pre-<productname>PostgreSQL</> 9.2 cluster
that uses a configuration-file-only directory, you must pass the
real data directory location to <application>pg_upgrade</>, and
pass the configuration directory location to the server, e.g.
<literal>-d /real-data-directory -o '-D /configuration-directory'</>.
-o, --old-options=OPTIONS old cluster options to pass to the server
-O, --new-options=OPTIONS new cluster options to pass to the server
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, bernhard.schrader@innogames.de
Subject: Re: BUG #7683: pg_upgrade missing configuration file
In-Reply-To: <20121123224421.GC22603@momjian.us>
References: <E1Talv7-0008NC-K8@wrigleys.postgresql.org> <20121123224421.GC22603@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox