[v15 beta] pg_upgrade failed if earlier executed with -c switch - Mailing list pgsql-hackers

From tushar
Subject [v15 beta] pg_upgrade failed if earlier executed with -c switch
Date
Msg-id 77e6ecaa-2785-97aa-f229-4b6e047cbd2b@enterprisedb.com
Whole thread Raw
Responses Re: [v15 beta] pg_upgrade failed if earlier executed with -c switch  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
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 

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Support logical replication of DDLs
Next
From: Daniel Gustafsson
Date:
Subject: Re: [v15 beta] pg_upgrade failed if earlier executed with -c switch