Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gKGA8-0003vu-03 for pgsql-general@arkaria.postgresql.org; Wed, 07 Nov 2018 05:13:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gKGA6-00038l-ID for pgsql-general@arkaria.postgresql.org; Wed, 07 Nov 2018 05:13:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gKGA6-00038O-6O for pgsql-general@lists.postgresql.org; Wed, 07 Nov 2018 05:13:54 +0000 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gKGA3-0006Nb-Ks for pgsql-general@lists.postgresql.org; Wed, 07 Nov 2018 05:13:52 +0000 Received: by mail-ot1-x334.google.com with SMTP id g27so13736355oth.6 for ; Tue, 06 Nov 2018 21:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=dGED4bXUvjzZ8q0OjzdEKZVcMYWicL6YijHrCZBdURU=; b=HPar8xfP+y0c2zH91RxP0cFQlyLEnxkrOE822LaG25JX0SvQqVBJUPf+go532Y66aK AsKF6BXfquS6+x2zVWXfrlTpZ4KsSUntfKMszc1XG02hCVzJQrr+mXK5D9fFr2kVlo8t QZQ7QugImSS5SWmDCU+K6N4+4J1KkY+lYp3F1j8+zkdGQJ3JzPio0K8L0rh4nqktFb4L 21XdPtpq68l/052Uk0qPPX/hTUSu9V8K+nhEUFGWVa57h5WOisELHAPCWm9A9vNo5rcr Div1SwtU0Ame7VMzA1rbFohg/3AeBMeBMidmq4AvnqWVWgjaer+bK3jAESy2YesFXv4R lgPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=dGED4bXUvjzZ8q0OjzdEKZVcMYWicL6YijHrCZBdURU=; b=tHAlXkiijGi13pAk+uhrn8sRdcgNyI04sPtP0mJ7Ty9rbzH1CkfVGpSNVlOnuo8ybT yZQhcLWLH9WgSRrviDkVumhBaAJHsrXTKdKb2VxXupk5ZIPkhNpRlObsU0j96FBU/w6k 7rkEGa5MmqhU04eDR6YP6EyHtKEhaGYPMThv3E2IKyOm93A06ZG3aWSGUGANEZOocRQ3 eWLjWySHum1WulimhqG3khnvPQ8BHZCeQF6ZW3HcRGfdkU3Jihwyv0Y9f4NoyPF1jTmG PhpdYprzqeSSp8rNFbRtNDplSeQU9l9BuAZwGDrOpRk3WyrZemOLimM93DkeI62p3L2o ChXA== X-Gm-Message-State: AGRZ1gJHfZKKoHeamA99oqNCOJXMYA5aMK3nULrQG1NB42XJVHPv/Or3 9xKyr4KaSMQOY0r6QjmBe8zNT8tW X-Google-Smtp-Source: AJdET5dhXiaqO0yexu7Mgy8MgQ55wRU4lk1j1spfJcETDtCXmZi2BKWOeDdyTkXJsViCdvPc3kSd6g== X-Received: by 2002:a9d:263:: with SMTP id 90mr280686otb.164.1541567630645; Tue, 06 Nov 2018 21:13:50 -0800 (PST) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id u143-v6sm3903513oie.38.2018.11.06.21.13.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 21:13:49 -0800 (PST) Subject: Re: Running pg_upgrade Version 11 To: pgsql-general@lists.postgresql.org References: <20181106061744.GJ1814@paquier.xyz> <2caa229c3ae6ed99886bbd1bb6d737a5474e59e8.camel@gmail.com> From: Ron Message-ID: <5d413da9-250c-3bcd-e979-0d0db83aa28c@gmail.com> Date: Tue, 6 Nov 2018 23:13:49 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <2caa229c3ae6ed99886bbd1bb6d737a5474e59e8.camel@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/06/2018 06:30 PM, rob stone wrote: > > On Tue, 2018-11-06 at 15:17 +0900, Michael Paquier wrote: >> On Tue, Nov 06, 2018 at 04:27:35PM +1100, rob stone wrote: >>> Logged in as user postgres and postgres owns the files created by >>> initdb, so is this a permissions problem or am I having a brain >>> fade? >> Having 0600 as umask for those files is normal. Don't you have more >> logs about the error? You should not see this error, except if >> data_v10 >> is not a data folder initialized correctly, so perhaps you messed up >> something in your environment? >> -- >> Michael > > > Problem caused by my eyesight. > A colleague pointed out the typo in the argument to the -d parameter. > Working as intended. That's why I like to line up my statements /usr/lib/postgresql/11/bin/pg_upgrade \ -b /usr/lib/postgresql/10/bin \ -B /usr/lib/postgresql/11/bin \ -d /home/postgres/testing/data_v10 \ -D /home/postgres/testing/data_v11 -- Angular momentum makes the world go 'round.