[v15 beta] pg_upgrade failed if earlier executed with -c switch

From: tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: [v15 beta] pg_upgrade failed if earlier executed with -c switch
Date: 2022-06-03 11:19:36
Message-ID: 77e6ecaa-2785-97aa-f229-4b6e047cbd2b@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2022-06-03 12:01:18 Re: [v15 beta] pg_upgrade failed if earlier executed with -c switch
Previous Message Amit Kapila 2022-06-03 11:15:36 Re: Support logical replication of DDLs