pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tushar <tushar.ahuja@enterprisedb.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: [v15 beta] pg_upgrade failed if earlier executed with -c switch
Date: Fri, 3 Jun 2022 16:49:36 +0530
Message-ID: <77e6ecaa-2785-97aa-f229-4b6e047cbd2b@enterprisedb.com> (raw)

Hi,

While performing pg_upgrade from v15Beta binaries/source,
I got this error below error

could not create directory "d2/pg_upgrade_output.d": File exists
Failure, exiting


*Steps to reproduce *
v15 Beta sources
initalize a cluster ( ./initdb -D d1)
initalize another cluster ( ./initdb -D d2)
run pg_upgrade with -c option  ( ./pg_upgrade -d d1 -D d2 -b . -B . -c -v)
run pg_upgrade without -c option ( ./pg_upgrade -d d1 -D d2 -b . -B .)
--
--
--
Error


This behavior was not there in earlier released versions, i guess.
Is it expected behavior now onwards?

-- 
regards,tushar
EnterpriseDB  https://www.enterprisedb.com/
The Enterprise PostgreSQL Company

view thread (25+ messages)  latest in thread

Message-ID: <77e6ecaa-2785-97aa-f229-4b6e047cbd2b@enterprisedb.com>
Permalink:  ../77e6ecaa-2785-97aa-f229-4b6e047cbd2b@enterprisedb.com/
Also on:    postgresql.org/message-id/77e6ecaa-2785-97aa-f229-4b6e047cbd2b@enterprisedb.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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tushar.ahuja@enterprisedb.com
  Subject: Re: [v15 beta] pg_upgrade failed if earlier executed with -c switch
  In-Reply-To: <77e6ecaa-2785-97aa-f229-4b6e047cbd2b@enterprisedb.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