Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tc1z0-0002xA-1W for pgsql-bugs@postgresql.org; Fri, 23 Nov 2012 22:44:26 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tc1yx-0000Ht-Qa for pgsql-bugs@postgresql.org; Fri, 23 Nov 2012 22:44:24 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1Tc1yv-0004jv-Dy; Fri, 23 Nov 2012 17:44:21 -0500 Date: Fri, 23 Nov 2012 17:44:21 -0500 From: Bruce Momjian To: bernhard.schrader@innogames.de Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7683: pg_upgrade missing configuration file Message-ID: <20121123224421.GC22603@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201211/185 X-Sequence-Number: 34743 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-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'. -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 http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +