Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XaUMY-0002wf-Dp for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 04 Oct 2014 18:47:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XaUMX-0004m1-Ty for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 04 Oct 2014 18:47:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XaUMW-0004ls-5L for pgsql-pkg-debian@postgresql.org; Sat, 04 Oct 2014 18:47:24 +0000 Received: from feynman.df7cb.de ([2001:6f8:10ee::1]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XaUMO-0006Ew-4c for pgsql-pkg-debian@postgresql.org; Sat, 04 Oct 2014 18:47:23 +0000 Received: from msg.df7cb.de (aftr-37-24-152-248.unity-media.net [37.24.152.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id EDD476969B; Sat, 4 Oct 2014 20:47:14 +0200 (CEST) Date: Sat, 4 Oct 2014 20:47:14 +0200 From: Christoph Berg To: Chadima =?utf-8?B?SmnFmcOt?= Cc: "pgsql-pkg-debian@postgresql.org" Subject: Re: pg_upgrade in 9.3.5 can not start cluster Message-ID: <20141004184714.GD801@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Chadima =?utf-8?B?SmnFmcOt?= , "pgsql-pkg-debian@postgresql.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.9 (-) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org Re: Chadima Jiří 2014-10-01 > Hi, > > we've encountered possible bug in debian packages, both squeeze and wheezy seem to be affected. > > We're using following repositories: > http://apt.postgresql.org/pub/repos/apt/ squeeze-pgdg/main amd64 Packages > http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg/main amd64 Packages > > This bug makes it currently impossible to run pg_upgrade script on 9.3 and therefore successfully upgrade from 9.2 to 9.3. It seems to be a typo somewhere in the source code. Unfortunately, I don't have the logs anymore, but the problem was that pg_upgrade refused to start cluster with an error that went like 'parameter "full_page_writes" requires a Boolean value'. The problem was that the startup command had a typo in it and contained '-c full_page_writes=off-c anotherparameter...' (Notice no space after =off). > > I think the pg_upgrade script worked when we were upgrading from 9.2 to 9.3.4, upgrade from 9.2 to 9.3.5 does not work anymore. As a workaround we have used pg_upgrade from 9.3.4 package and it worked. > > Could you guys look at it? Unfortunately due to internal policy I can't test any patches in our environment, but this should be easily reproducible on a clean debian box. It's not reproducible on a clean Debian box. Do you have full_page_writes mentioned in /etc/postgresql/9.2/main/pg_ctl.conf or the like? Christoph -- cb@df7cb.de | http://www.df7cb.de/ -- Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-debian