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 1oWQxh-0007xY-4C for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Sep 2022 23:29: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 1oWQxe-0001XJ-2R for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Sep 2022 23:29:30 +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 1oWQxd-0001X9-NS for pgsql-hackers@lists.postgresql.org; Thu, 08 Sep 2022 23:29:29 +0000 Received: from mail-oa1-x29.google.com ([2001:4860:4864:20::29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oWQxX-0001Tv-Ck for pgsql-hackers@postgresql.org; Thu, 08 Sep 2022 23:29:29 +0000 Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-1278624b7c4so30360866fac.5 for ; Thu, 08 Sep 2022 16:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timescale.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=o9jOe5nRyhUOjxY6EC6FuOWnsyaDf2b4kwOBqRdarts=; b=dRP4BFrZ3i8LPDMHYuQehsVqd+DoNXqN1FtfyG3EEF610JGh0aSXdJ6Q5WrV9fZ0aM vtJP3IDs5s/Hl9OObMGRG/yF7JnxPTGE/xbPyoVgHGo/SNBrcF9EQfOj2irgrM4EYTgR 1ftH/caacbZGyZoMN4cIqSrFdNhNtDsgIUoq6X2aGbvN13ss02CXzF0wM+UA9mpUc4Yr z2P8KjYuQ4y9g+xQt2GzpXEOAjX1bnE0hwCltcr86Qdosrdjj1x07f8YlMv6E3lB1Trr D8+kNTLdYFXUUkrCkO5uBDmgRyNYKvJuwLh6yHNbydaoS6W5HKegUKor1q3WX8jcM3/V MLRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=o9jOe5nRyhUOjxY6EC6FuOWnsyaDf2b4kwOBqRdarts=; b=fq3DpD7o79VurH55KVZXj9jDxHFxetlE8lr6l6EHSZ/BW14JEo/xNTN0FSUw8vv4+C eIDhK2EO6WbWehk014jNEUqaqOuJLeaY7TAbYuYu02fX6iMxMYwRdU0qXNTC/MtA5NCZ zaVKb3t0MrniL2BPTwAhk3UelYuObj/98OANoBvH6A+Ss2w32GQ+RRe1+x9/BheRaydD btmHBQzFwEPikTs6aVUfe7kNcYJieeoRuwG6vI3XAaXzRdYaw55U9QxYeYf+yoA57jKb QxW/qDceIRMcqadodB8l4WVl8Oa1whtsdz0sgDR6eSpEdYMa4wLZ6Fm4Eqicc59GoZMP lv0Q== X-Gm-Message-State: ACgBeo3PrtCJ20cQb0nz4JvujWZPym8zY+nwFjYWDhG+kNhj9LFsDm1D gHegimGCrW7Wwkj0nIAJdvHD9bfs4sWakobQbyBZKQ== X-Google-Smtp-Source: AA6agR5lPivcP3WjzvYMBDhI8M/j4Lbnn/zdl29lC2FJu26R8gaWaMxhTEcWKQpDDiNhbf9OmBDyXL1vewkehvCmyXY= X-Received: by 2002:a05:6808:3012:b0:34d:7dad:9290 with SMTP id ay18-20020a056808301200b0034d7dad9290mr1714695oib.93.1662679761202; Thu, 08 Sep 2022 16:29:21 -0700 (PDT) MIME-Version: 1.0 References: <986904.1616525964@sss.pgh.pa.us> <6cccaa33-c263-b8a2-b064-985605d33d25@wi3ck.info> <988415.1616528159@sss.pgh.pa.us> <872315a8-99fc-da4e-463d-784cfb5a025d@wi3ck.info> <1010642.1616532950@sss.pgh.pa.us> <802b96e9-f5e1-015c-dfb9-8756974b11fc@wi3ck.info> <0263bf35-05d6-02a1-519b-b7895a918314@wi3ck.info> <20220825003227.GA1456581@nathanxps13> <663393ca-b2ff-26f0-2e2d-adc942aff4fd@timescale.com> <20220908231807.GA2242918@nathanxps13> In-Reply-To: <20220908231807.GA2242918@nathanxps13> From: Jacob Champion Date: Thu, 8 Sep 2022 16:29:10 -0700 Message-ID: Subject: Re: pg_upgrade failing for 200+ million Large Objects To: Nathan Bossart Cc: Jan Wieck , Tom Lane , Bruce Momjian , Zhihong Yu , Andrew Dunstan , Magnus Hagander , Robins Tharakan , Peter Eisentraut , "pgsql-hackers@postgresql.org" Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Sep 8, 2022 at 4:18 PM Nathan Bossart wrote: > IIUC the main benefit of this approach is that it isn't dependent on > binary-upgrade mode, which seems to be a goal based on the discussion > upthread [0]. To clarify, I agree that pg_dump should contain the core fix. What I'm questioning is the addition of --dump-options to make use of that fix from pg_upgrade, since it also lets the user do "exciting" new things like --exclude-schema and --include-foreign-data and so on. I don't think we should let them do that without a good reason. Thanks, --Jacob