Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nx5LH-0005FP-Gf for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jun 2022 11:19:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nx5LF-0003kS-Vg for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jun 2022 11:19:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nx5LF-0003kI-M6 for pgsql-hackers@lists.postgresql.org; Fri, 03 Jun 2022 11:19:45 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nx5LC-0006rB-VK for pgsql-hackers@postgresql.org; Fri, 03 Jun 2022 11:19:44 +0000 Received: by mail-wr1-x429.google.com with SMTP id p10so9979429wrg.12 for ; Fri, 03 Jun 2022 04:19:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=from:to:subject:message-id:date:user-agent:mime-version :content-language; bh=XJT6h74r08rhhVtXKF19KI08/JUkruFCfFHTbGWg+JE=; b=h6T+DBN519apTnzq3R9/vk3K/jH/xoNmXBIiMoS5u3Gl4kY+/mcwC3QzBiU4uKBKT7 USFwqkpeYP51MAZCcf5QaaR+b5IqBGAVYj7AEsJkAdhrX4KGweL3NNNoMAQxTnqkAtpM kk+OWnNso80z7VPMNfmVpp4Ys5EgPstJi0s8/UL6trlq4IkwmMZpbESdE3I3ibfCqrMB XmmJF91g21OzYc7rSWpZdOtSZrhuxAnRTVruYUuFM85qDDBMWT0DVcEmk/1dmAT2fpcf iZ/hRlL+4lY23hYALfvqUoVelXU4M2Vb6/WswpJEdFKYkp+IdbmFEERIbY6EXtth9cse aK4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-language; bh=XJT6h74r08rhhVtXKF19KI08/JUkruFCfFHTbGWg+JE=; b=cUzV7S3RY7gGiedcFI7anEj/cKKNZXJv58qVdwsuQlXf5kElfJxAQ8R129WC0alsaT BmWAFacFYGtUCctgQQj7yCA37KwOl0tvOu545HoLZysjCcZDXLBdJewL9P11STh7vKMe jy9bDi9O06fW7DCCV+LJCFJFLbj7gu/H7IoN9wzaHLIkz1eARQ5mT/zMhUXFfEUSdaKm 91GRu42NWV+g5pKcDkrOwwOoleCcOAxVUBBNMUdIieTvmA0ukfMsLcfuAod8On/JoEgb 2oSFjrSpGZh97Rhx40i2mNyZ3p5oP4J9JQ6mP43i2jAZ2vvqaVyZZ2te2vIjaudi8ZdM Mjpw== X-Gm-Message-State: AOAM532HGwZ6omTuNzOqVGvAYQl+rufoFq7KXYkiXzPJ2nzs7vzSSpB3 Sy+GLjqiWPD5j4P/nlnldkpNtWk6/Uyl5X7UbeQqKBLc5Sl5QSiPcXdQSt9CmDhM1GYOR2lMQvE kWfQMkI1MlvXOU22N3lU8H4Wiiuj6PkqWtvInKjQzFLrZ8Gqiv5tKnfDilHydPnDw+1unQe64j/ KI+qPA8XeJ1OXhxIRLwFE0yTEYsZOjkLo/o3v4Trf7pCb/7puL450DyNb8/8xH/CHRO/N9tzVkQ hxCuzNVBxYvp2lCwNMkwlpRcGvRg7F5fO9MjA== X-Google-Smtp-Source: ABdhPJxYaG9jgiOwfyH1m7Uokj9h5B9nWprC+b9LQDLgNHGSqHqSeHxWD0S60uA+HO7hUIQKDuw/nA== X-Received: by 2002:a5d:65c1:0:b0:210:33b7:4525 with SMTP id e1-20020a5d65c1000000b0021033b74525mr7650627wrw.494.1654255181068; Fri, 03 Jun 2022 04:19:41 -0700 (PDT) Received: from localhost.localdomain ([45.113.251.168]) by smtp.gmail.com with ESMTPSA id c3-20020a7bc843000000b0039c3e6edb0asm2280230wml.2.2022.06.03.04.19.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Jun 2022 04:19:40 -0700 (PDT) From: tushar To: PostgreSQL-development Subject: [v15 beta] pg_upgrade failed if earlier executed with -c switch Message-ID: <77e6ecaa-2785-97aa-f229-4b6e047cbd2b@enterprisedb.com> Date: Fri, 3 Jun 2022 16:49:36 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------C62F7F15D2FCDAF8EB5DD47E" Content-Language: en-US X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------C62F7F15D2FCDAF8EB5DD47E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------C62F7F15D2FCDAF8EB5DD47E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit 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 
--------------C62F7F15D2FCDAF8EB5DD47E--