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 1nLCc5-0002lh-8O for pgsql-admin@arkaria.postgresql.org; Fri, 18 Feb 2022 23:24:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nLCc3-0007av-Rr for pgsql-admin@arkaria.postgresql.org; Fri, 18 Feb 2022 23:24:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nL4qM-0008CU-6F for pgsql-admin@lists.postgresql.org; Fri, 18 Feb 2022 15:06:46 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nL4qJ-0007JR-9C for pgsql-admin@lists.postgresql.org; Fri, 18 Feb 2022 15:06:45 +0000 Received: by mail-ed1-x531.google.com with SMTP id q17so16057502edd.4 for ; Fri, 18 Feb 2022 07:06:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20210112.gappssmtp.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=p8wTLRjo9s3JduCLp30nbiQJpbNHgs0pMmo7zMG33rc=; b=yVOxCa2JzSpy9kKFrf5rJ2F6z5gTk92V6myewfjI+VzTC1v0eppq8qYDX+/aQJOH1N WviCNvYyfmuo/dlYbO4iL6bLe8X1GfImqxcTWqu9gFGB/mhrgVox+G4Z4ZcAOW4KQ8CG XRdS7FOfGXN2iVawbuZdDmgOFBu8j9RuxC580G2f4cI8iKPhQme9VWaWAMg+48oM/2D2 I0B9wxRjnIUM8iGiRuZf/BeSjpOlRtXKfDBZvm+M0ny9tW6PJPErw0tY7AnQVK+mIhHW BZC2bXmk8V0TGGThini9q5QfYdsD9MmxW2Lq46e2eO067iAeIbHZkMrHA3xM5fFOo8Uy a0kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=p8wTLRjo9s3JduCLp30nbiQJpbNHgs0pMmo7zMG33rc=; b=wWlJY33naN4ygB7zNuwRkXd1AxD1ys0NXLebY3iq+0kj902/Q6HoWAPQnlMKcokow6 TOU+s+tlrfjgQ6RPDAp8nlPGHc4QZdjA3iKN8OWCCXVgS7aU3XdPv4p3e62HpMsNT5oc txQRKQ/SM/Nzbbg0b1DTH79Eqvcf/RIhxsvwlOAyAZrdnqJtjCKoUcQ2Lp9vvbfhYLJS XdL/paj1oVEml636ZjkdTWZg2gT6DKfls7dA4e+/vrVoBifEcyEZkZN7kc7wfTDedsr1 JJUQ16htrhlj/lBtsZv8bQYe+ss03vN0/TBmRnh86sUNAENntINx98SOIhVAn4IX2RNY 4wZg== X-Gm-Message-State: AOAM532qEGEmcBHl1vf7df96Hp2a3eI9L9VvcLfSR6XO2KkZ0GsU6sw2 dpi+S6CwrYJMnlacgaEo75I/N3VkC03JRw== X-Google-Smtp-Source: ABdhPJxS0UCCxsZ8WyZ+7fFL3YA8d268C+HcQEjoP9EZBbx0uUYJ9Tkz0jCAYPJTlk6lZ4Jz2S2c1w== X-Received: by 2002:a05:6402:26cd:b0:412:a00f:f97e with SMTP id x13-20020a05640226cd00b00412a00ff97emr8518575edd.448.1645196801983; Fri, 18 Feb 2022 07:06:41 -0800 (PST) Received: from localhost.localdomain ([2001:871:5e:99f5:2832:f0eb:6c0:5c87]) by smtp.gmail.com with ESMTPSA id z5sm2323641eja.20.2022.02.18.07.06.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 07:06:41 -0800 (PST) Message-ID: <0e0c7ddf3461dacb46458164b34e56c17baad93a.camel@cybertec.at> Subject: Re: pg_upgrade from Postgresql-12 to Postgresql-13 fails with "Creating dump of database schemas postgres *failure*" From: Laurenz Albe To: "Yoong S. Chow" , pgsql-general@lists.postgresql.org, pgsql-admin@lists.postgresql.org Date: Fri, 18 Feb 2022 16:06:40 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4 (3.40.4-2.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 2022-02-18 at 13:17 +0800, Yoong S. Chow wrote: > I was trying to perform `pg_upgrade` from Postgresql-12 to Postgresql-13 > (after being advised that upgrading from Postgresql-12 to Postgresql-14 > is biting off much more than I could chew... ). That was bad advice. > The `pg_upgrade --check` went through OK. But the actual `pg_upgrade` > always get error at the step of Creating dump of database schemas for > `postgres` database. Buried in your logs I find free(): invalid pointer Perhaps you have found a PostgreSQL bug. Then it would be gread if you could provide a reproducer. But perhaps there is an extension installed that causes that error? Does a plain pg_dumpall succeed? Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com