Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s59XG-003ZKx-Sv for pgsql-hackers@arkaria.postgresql.org; Thu, 09 May 2024 19:34:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s59XF-00A3RM-2s for pgsql-hackers@arkaria.postgresql.org; Thu, 09 May 2024 19:34:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s59XE-00A3RE-Pq for pgsql-hackers@lists.postgresql.org; Thu, 09 May 2024 19:34:33 +0000 Received: from mail-il1-x132.google.com ([2607:f8b0:4864:20::132]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s59XB-000EWW-I7 for pgsql-hackers@postgresql.org; Thu, 09 May 2024 19:34:32 +0000 Received: by mail-il1-x132.google.com with SMTP id e9e14a558f8ab-36c85170db2so6041135ab.0 for ; Thu, 09 May 2024 12:34:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715283268; x=1715888068; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=vZ/sYBbTZcuxEXJb0UEgeNpZq1PKjaIeua2ImvdJ2ZM=; b=brCMQw/otjKwJsdBRxLsyiqYVFRtxNKe8KIj5x2E8IJtUYbTiEfpK4F6APq3jAedd+ rKwb46KGQJxQVs9qLy9huU+bj3WRCIlC3kEJGY3jgmRFLTATGWTjdD7rlo/gMSoY170J J1eqC5n7DzECcKZLuAovklLiv5qWi5CNjO5q/qSQa42Q7oxh6njq+vpZTdN9sPi5Q1qq 1gXNwiYAVQxp/AfPJs9KOrpS2X2P7Vjq3EmtyIz3UWwgvuZvz+Y8rwRJCq2OJW8xbKJr 8lvkYmxT3xAPkHLoiXZIecBHv7rDk7QIwWvre1GHDeoAZRAXu8hy1fXeZcvdEpKkb8KD fmPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715283268; x=1715888068; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vZ/sYBbTZcuxEXJb0UEgeNpZq1PKjaIeua2ImvdJ2ZM=; b=VeLFcJL/vPa7cY3Nr5liz7m0CqypsRTxDp62qoZ1BKrsn7A7gQJVbMV/vWw1BwKvaT IkSAApH41WTBtvI9kcl/yz3RuEffiUmM/weTdZZj/97EppFzQocOX+1d7oXd4pZKFHaX fFBTry8KZPlK4RjWDBgFCUOvWIhCehiw6aGDqG8+RQzVLvpj8i0dFgITcXvOMAnyPXR4 zn6ZzGpfopoNwOrABzmYS9N3DN7Liy9Aj3M6cbZxhNs6AxAmJwoW/OHbpM+4ZPVxKroQ Zi7nwZ+uyCfzLGjkuDxkWIQZSAqNva3AwoS6o4tvDyQ/U72eBmIIctcA7MlZaDNS3aKm E3Zw== X-Forwarded-Encrypted: i=1; AJvYcCVVuj+G+oNG92BZG6D0tpLRX8lWgqbuvJOrPtCgqEnkGwrsyZnLCUwbMw/E0hQYEDyFoX8xAdQc+Y8yDmvogq92ZV13J+jyvEXXMgTD X-Gm-Message-State: AOJu0YzuXF3g8ceZjPwKP6rsHLVmsXki8z+H2Q4vhVZAIn83TsUNFPLu qowgTqNZoLbRgV8G6TGuwe32qyRVGI3lw1lQrpCiLjarxu9OdjOr X-Google-Smtp-Source: AGHT+IF5IH9NtjA3HbmkdankjnJ0xIQUHoDUaRF6UJONQuJtL/y+lXbP9jiSMKiaCy5u557doZyQgQ== X-Received: by 2002:a05:6e02:1786:b0:36b:26df:cce9 with SMTP id e9e14a558f8ab-36cc14e794emr7247805ab.22.1715283268115; Thu, 09 May 2024 12:34:28 -0700 (PDT) Received: from nathanxps13 (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-489375c19a0sm529186173.108.2024.05.09.12.34.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 12:34:27 -0700 (PDT) Date: Thu, 9 May 2024 14:34:25 -0500 From: Nathan Bossart To: Michael Paquier Cc: Tom Lane , Peter Eisentraut , pgsql-hackers@postgresql.org Subject: Re: add --no-sync to pg_upgrade's calls to pg_dump and pg_dumpall Message-ID: <20240509193425.GA3219615@nathanxps13> References: <20240503171348.GA1731524@nathanxps13> <677ed9ca-8653-4c27-80ca-0ea763f0f21f@eisentraut.org> <20240508183850.GA2824188@nathanxps13> <818511.1715194198@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, May 09, 2024 at 09:03:56AM +0900, Michael Paquier wrote: > +1. Could there be an argument in favor of a backpatch? This is a > performance improvement, but one could also side that the addition of > sync support in pg_dump[all] has made that a regression that we'd > better fix because the flushes don't matter in this context. They > also bring costs for no gain. I don't see a strong need to back-patch this, if for no other reason than it seems to have gone unnoticed for 7 major versions. Plus, based on my admittedly limited testing, this is unlikely to provide significant improvements. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com