pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Running pg_upgrade Version 11
Date: Tue, 6 Nov 2018 23:13:49 -0600
Message-ID: <5d413da9-250c-3bcd-e979-0d0db83aa28c@gmail.com> (raw)
In-Reply-To: <2caa229c3ae6ed99886bbd1bb6d737a5474e59e8.camel@gmail.com>
References: <cb0911699d5b53c1c6b64b465b90c227d9a02c6d.camel@gmail.com>
	<20181106061744.GJ1814@paquier.xyz>
	<2caa229c3ae6ed99886bbd1bb6d737a5474e59e8.camel@gmail.com>

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.




view thread (6+ messages)  latest in thread

Message-ID: <5d413da9-250c-3bcd-e979-0d0db83aa28c@gmail.com>
Permalink:  ../5d413da9-250c-3bcd-e979-0d0db83aa28c@gmail.com/
Also on:    postgresql.org/message-id/5d413da9-250c-3bcd-e979-0d0db83aa28c@gmail.com

 · 

reply

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-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: Running pg_upgrade Version 11
  In-Reply-To: <5d413da9-250c-3bcd-e979-0d0db83aa28c@gmail.com>
  References: <cb0911699d5b53c1c6b64b465b90c227d9a02c6d.camel@gmail.com> <20181106061744.GJ1814@paquier.xyz> <2caa229c3ae6ed99886bbd1bb6d737a5474e59e8.camel@gmail.com> <5d413da9-250c-3bcd-e979-0d0db83aa28c@gmail.com>

* 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