Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aRMhJ-0000Uq-JS for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Feb 2016 16:23:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aRMhJ-0001rE-64 for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Feb 2016 16:23:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aRMhI-0001qi-7E for pgsql-bugs@postgresql.org; Thu, 04 Feb 2016 16:23:56 +0000 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aRMhF-0006xI-2G for pgsql-bugs@postgresql.org; Thu, 04 Feb 2016 16:23:55 +0000 Received: by mail-wm0-x22d.google.com with SMTP id p63so124958567wmp.1 for ; Thu, 04 Feb 2016 08:23:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandwatch.com; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=4/Eh38BWXO+WO/NMv+2lms185wruXZLJgugOn7R8zZ8=; b=IRCJOhLKGjaU3FCeGCNOWKTu1z2WCXuxPLPfS/tn2/NLkGwKaqYFdQUR8UIUjPX8Yq ahGRgArFBaBp+E+rEOCYZBHuHgY/JzaLMZ5H3Im73mqMVJpGc4/Gfwe+4czvWE6Dr2EJ k9S28vYY33wtpoBtorVaMiOLq8+KG2P7PFj1Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=4/Eh38BWXO+WO/NMv+2lms185wruXZLJgugOn7R8zZ8=; b=L5vdMTV2lAWDnfeTyEfSz6mTnokZAY4r+yzQTh5r9BZP2Wx4xzfR2G+TpvkK2na7cW ZTULopKgE5uhhNfIReCMcwfW+xY9ldyw8DqWLvZCt3rLSNfCyainuHnVBUigNbPOkZDn m1wjwL63hBEi/i31zdy7Q6ezgCC0mOFHWdaowZ7jGfqjIQMEy6rSRX3IpBl5r0whswXw dJpls2MRxLvbp2oZCAAWEgmgLT++2hGgzg7Mx9/Zs8ujtixli1TcmG2CWuivwpGwg5gW 2VnfHgVB88aWr7NAqCepahr2WVux53QB9iGTGFAwq9qxoL2iuteeTrmnLZ66RzRup8VF I6gg== X-Gm-Message-State: AG10YORLnJLsN4/vm9ruqRWPg7pp1rn2tKDLsFKxlxE3kq+0Oe8Lq9iwz1TwIzP4SViP93A/ X-Received: by 10.194.21.163 with SMTP id w3mr9045094wje.58.1454603031881; Thu, 04 Feb 2016 08:23:51 -0800 (PST) Received: from [10.2.97.68] ([185.25.33.74]) by smtp.googlemail.com with ESMTPSA id q75sm27092217wmd.6.2016.02.04.08.23.50 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Feb 2016 08:23:50 -0800 (PST) Subject: Re: BUG #13911: pg_upgrade from 8.4 to 9.5 broken To: pgsql-bugs@postgresql.org References: <20160204030603.2782.10257@wrigleys.postgresql.org> <56B2DFE9.5080806@hogranch.com> From: Federico Campoli Message-ID: <56B37B13.5000405@brandwatch.com> Date: Thu, 4 Feb 2016 16:23:47 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56B2DFE9.5080806@hogranch.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 04/02/16 05:21, John R Pierce wrote: > On 2/3/2016 7:06 PM, jpaul@aconex.com wrote: >> /usr/lib/postgresql/9.5/bin/pg_upgrade --old-datadir >> '/etc/postgresql/8.4/main' --new-datadir '/etc/postgresql/9.5/main' > > I don't use Ubuntu, but the data directories shouldn't be in /etc, thats > where the powergresql.conf files are located in their wrappered > systems. The data directories should be in /var/something. > > > Correct The default schema is /var/lib/postgresql/// the --new-datadir should be /var/lib/postgresql/9.5/main -- Federico Campoli Brandwatch | Senior Database Administrator federico@brandwatch.com | New York | San Francisco | *Brighton* | Berlin | Stuttgart -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs