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 1uRwDl-0012le-5E for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Jun 2025 17:05:09 +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 1uRwDi-002ymL-Ly for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Jun 2025 17:05:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uRwDi-002ymD-CU for pgsql-hackers@lists.postgresql.org; Wed, 18 Jun 2025 17:05:07 +0000 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uRwDh-002j6y-0N for pgsql-hackers@postgresql.org; Wed, 18 Jun 2025 17:05:06 +0000 Received: by mail-io1-xd33.google.com with SMTP id ca18e2360f4ac-8731c3473c3so202749239f.1 for ; Wed, 18 Jun 2025 10:05:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750266304; x=1750871104; 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=HrZVR0nCInGQF49Mn4uYm9vZrWKFjUwuYIbuihDJPhM=; b=jx+pX8Gy1J+1ZalElj7d38LCkRlvV50aorouY6HTNQM/Wdr7tNNhgD0Ha7jWaYD9Xu /ui0mDiwWIKoK6jioeIJ1lZYwOLeLu837jRmS6ZqTg+GrvGRi7AblnrHiCqL81iRiZiq CL46Usa2FDkBbuCVT4WJGuRLAdPm8GE1isxIGyHP+wSRh92t1tsnU1htkgxsgW19LSSQ ti8iNesA/3k0QPWsWBQdfXJNRHFR8lqEUJ97Ywv3pagVX+7AdykB+J07IQPuMtrGhZ5H pdASMadJDkpWc2UuGfb5ZOeCLibKbs4pq0nTjeFjLYWM+6gQ0H4BnPnIinfvnyb68sxP hG1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750266304; x=1750871104; 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=HrZVR0nCInGQF49Mn4uYm9vZrWKFjUwuYIbuihDJPhM=; b=IvCyZbidm2G8FQmrsQY21MmG6Dd4f1jdigzeoh1tW2++H6qXY7JlVyAHkpxP2Fyy3W yZsvfJuyThZVbFOKduKcXVaBLfhc9cjzyN6pSnhfPNEkRFAi8Z1/NoY1Xiz2DLlbJBG2 iA89h9h3mwU8Yav91B+FFKyZ85gSqgEdv34MiGr4d6sq2SfZidlrxyLTxEoUG/DFNgqn XlvXjmqFZqGOqMovRJL58sPR6/nEYBlhwPPX8XxRF4zTAgzPWbvHZX81Tj3k0mIjZR3D nRGmCurzilk0ltQpyL5nz6Qxefl7SsA4fJWpyogHHCMrHYi7JUG22DMhcF0UKYLp7SEP VtrA== X-Forwarded-Encrypted: i=1; AJvYcCV20dImNZ+tnN7/4KdGwOO+KEm7FypqGu98ZIuYdEbxrTkbfhOrEtmByF+K2ScrxNTJoRScNDSYX+kDR/rl@postgresql.org X-Gm-Message-State: AOJu0Yzk2KrTydkpmxPoLO0MTOpd2HHE6ijK2RQPVjvkple+IuGJV+pj SHamn8Nw3BW+Xtglpz+FP2OtAaLMg9RbaXoCa8b61Pig2xbD3lCXJI0U X-Gm-Gg: ASbGncs5QMpUlPnv5aj6xCHIZUu9Pl5yN1GfFwwjha/Ie54ZtmyhvSvistBb2g1zDkU 2LBvzocXTUNx6kNc1B/Rfghg2SWMg9eRtPk+qLA3vGTHJBq5SPS2VXmVhnh9UZ+gN9P3Ea0iGs+ oGa3jbAOPWdZBL3zZ+3RncqotS7uf+X6KFFmAxOJHOO7UXLPDkJrDRIL2SCMB5iEY2ve5yT/f0N sYh0kvsouk0Di9WEnyth7ZEhoMe+cDA6robaRVq9UI08tOI7omVmRWP+IAP8y+WkTz8Cr6Yd9bJ f3rZJQcKCCNU7uwPAvmT9QYxol/3GXgd2tSOKl37jaFuFcG11sOUHiIMnCz3b0yUqhlXj5DbsLm GU8px8/GJMNaCJlQkQ+rTKxZrHzAS1nt+9lGQkRuWVz3A2qoG1RLTOl9kSw== X-Google-Smtp-Source: AGHT+IG5KXi7q+BogJJjuoBIoRWKSjO2d4I7y5kH7bpxk6SzVWRpL0T+upIEagmW6v6mN69EHfiI4Q== X-Received: by 2002:a05:6602:3f87:b0:864:4a9b:f1f1 with SMTP id ca18e2360f4ac-875dede48c4mr2430847839f.14.1750266304197; Wed, 18 Jun 2025 10:05:04 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-5018acc2f3dsm257098173.59.2025.06.18.10.05.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jun 2025 10:05:03 -0700 (PDT) Date: Wed, 18 Jun 2025 12:05:02 -0500 From: Nathan Bossart To: Jeff Davis Cc: Robert Haas , Peter Eisentraut , pgsql-hackers Subject: Re: pg_dump --with-* options Message-ID: References: <7cc52488-f876-4ad3-affd-6e4b0ef0cb09@eisentraut.org> <7bf0246542713d80f12c738c1d365d1365750c18.camel@j-davis.com> <5e398522803da9bf3f9fc33ca43084ec21ab0fcd.camel@j-davis.com> <58e0969caef94bb4bc83e8a842959dabe29e20bd.camel@j-davis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58e0969caef94bb4bc83e8a842959dabe29e20bd.camel@j-davis.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Jun 18, 2025 at 09:53:01AM -0700, Jeff Davis wrote: > On Wed, 2025-06-18 at 10:43 -0500, Nathan Bossart wrote: >> IIUC the current proposal is to: >> >> * Dump/restore stats by default. > > IIUC some people still object to this. Turning stats off by default was > on the Open Items list. At this point I think we need a pretty strong > consensus to override that and I'm not sure we have one right now. Okay, so I see two main choices on the table: 1) Turn on stats by default in pg_dump. Keep --no-* flags and --*-only flags, and remove the --with-* flags. 2) Keep stats off by default in pg_dump. Keep --no-{schema,data} flags and --*-only flags, remove --no-statistics and --with-{schema,data}, and rename --with-statistics to --statistics. Is that an accurate summary? -- nathan