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 1lP5zm-0000aC-5K for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Mar 2021 16:04:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lP5zl-0003X3-2u for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Mar 2021 16:04:33 +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 1lP5zk-0003Ww-P6 for pgsql-hackers@lists.postgresql.org; Wed, 24 Mar 2021 16:04:32 +0000 Received: from mail-qv1-xf2e.google.com ([2607:f8b0:4864:20::f2e]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lP5zi-00021f-Na for pgsql-hackers@postgresql.org; Wed, 24 Mar 2021 16:04:32 +0000 Received: by mail-qv1-xf2e.google.com with SMTP id t5so12532158qvs.5 for ; Wed, 24 Mar 2021 09:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wi3ck-info.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=RIGyuwaWhTuTm29av77I8q9UmhrcbzdZ2h9hf7ATEKw=; b=ElCNzCezF6tH6B7Qk11z/7XdLqtswcQqXqbe+Mx/6p1mfyeHuQ8U0f+5SQYr1AaOG4 DWZKQ8eE7ALPuXVhO3BhgZbZvp+c73fKOXLd0jzawwkWN2r3hPAqjZBrmmqLFGX8LQKf gbe2fmFqytRBAWJ2XlGA7RgoJ4A0fn0z9vZ0F3xeEGdsBTDGGFTUmO1+kbGjG7dHK7tE HoTqUXgZgKwoOP62U899jTdDUBGQnygUDrkYFIAP7RVtyLzFP3pidSzV0ZEdy1XviYCm lo3KpMYhukObUYm+iZaltage41fufq1bZaFN8o72GSV4vmZzI1HWPjf4vtniIP73MoRo 6KbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=RIGyuwaWhTuTm29av77I8q9UmhrcbzdZ2h9hf7ATEKw=; b=oz3Zkcy3BhsStalOFEfiugncrgQ23GIlq9YJ+H2QMBJnkW8F+HZ7ifKHygKhhAos+7 rFH6zKMmC621RFK9Zq+tHBSt4AAibZVk6YkxbPbqMI/q3vKGMwb6yMTfz+GXC6xPgLsf QWCov/SfXpxjXv2j3sySrcnS2JmdgklhjBqU0ixB3o6fLKUPWE01o6rtafWlUhGcNxXD BUyxzAqK6TBON10KPvxO51ApntMJz/fkiQARj9C8f5YMqmRBhipOR8g5K6R9ld968pMl 1Vh0gk5pq6l/cIUqMzkx4qP4k0/pHVhcG+TSf7jO77SuJ5bTxorZct7NWlkIg8E9WjOy s0iA== X-Gm-Message-State: AOAM530T1nVswFykAvYdHt89qGDgMYO4SvNngkOjnwsAmAloEnHZZ5xV OH7vDyXAgkDA/DP/WBPHODr9+7X6OyzdwoRP X-Google-Smtp-Source: ABdhPJxO0aLk/mlslm7fEHCnJ9O6ODb7/Wj5tV7iK9TqVBLkjMwIEgOQLaSl+xDiw0nLmTeANh2Zpg== X-Received: by 2002:a0c:cb0c:: with SMTP id o12mr3976025qvk.54.1616601867370; Wed, 24 Mar 2021 09:04:27 -0700 (PDT) Received: from jupiter.onmars.janwieck.no-ip.info (pool-98-114-241-134.phlapa.fios.verizon.net. [98.114.241.134]) by smtp.gmail.com with ESMTPSA id i8sm1693096qtj.16.2021.03.24.09.04.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Mar 2021 09:04:26 -0700 (PDT) Subject: Re: pg_upgrade failing for 200+ million Large Objects To: Tom Lane Cc: Bruce Momjian , Zhihong Yu , Andrew Dunstan , Magnus Hagander , Robins Tharakan , Peter Eisentraut , "pgsql-hackers@postgresql.org" References: <181907.1616253799@sss.pgh.pa.us> <147fa478-510b-18ef-5323-9c1725b2493c@wi3ck.info> <5bdcb010-ecdd-c69a-b441-68002fc38483@wi3ck.info> <3886649c-c77d-dfd7-08a4-d1606bc71254@wi3ck.info> <91ccdb0d-42fd-7413-4e7c-3d6445655d2e@wi3ck.info> <20210323145628.GD579@momjian.us> <8d8d3961-8e8b-3dbe-f911-6f418c5fb1d3@wi3ck.info> <20210323180646.GG579@momjian.us> <91b02dc1-f0d9-e50d-849c-18d9a66484fb@wi3ck.info> <985941.1616524546@sss.pgh.pa.us> <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> From: Jan Wieck Message-ID: <802b96e9-f5e1-015c-dfb9-8756974b11fc@wi3ck.info> Date: Wed, 24 Mar 2021 12:04:26 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <1010642.1616532950@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/23/21 4:55 PM, Tom Lane wrote: > Jan Wieck writes: >> Have we even reached a consensus yet on that doing it the way, my patch >> is proposing, is the right way to go? Like that emitting BLOB TOC >> entries into SECTION_DATA when in binary upgrade mode is a good thing? >> Or that bunching all the SQL statements for creating the blob, changing >> the ACL and COMMENT and SECLABEL all in one multi-statement-query is. > > Now you're asking for actual review effort, which is a little hard > to come by towards the tail end of the last CF of a cycle. I'm > interested in this topic, but I can't justify spending much time > on it right now. Understood. In any case I changed the options so that they behave the same way, the existing -o and -O (for old/new postmaster options) work. I don't think it would be wise to have option forwarding work differently between options for postmaster and options for pg_dump/pg_restore. Regards, Jan -- Jan Wieck Principle Database Engineer Amazon Web Services