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 1ugoKA-007Xzm-RN for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Jul 2025 17:41:15 +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 1ugoK8-003OCA-GZ for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Jul 2025 17:41:12 +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 1ugoK8-003OC1-3c for pgsql-hackers@lists.postgresql.org; Tue, 29 Jul 2025 17:41:12 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1ugoK3-001Q2w-1F for pgsql-hackers@postgresql.org; Tue, 29 Jul 2025 17:41:11 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-24022261323so1386515ad.1 for ; Tue, 29 Jul 2025 10:41:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20230601.gappssmtp.com; s=20230601; t=1753810866; x=1754415666; darn=postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=T7hQFxW38S45AWdfIqXfBNeOuZaQbdEerVKB3kzajSY=; b=LFmpIHePMH++6r0Za5kUC9L6etVz66d1vCAT7ttrIj/j+/FQOHJFojPmz3aIfL4tXJ 6hg895dhpo1XyVMTsezakhDAkzp++FPZdglShPLMsxx+iJ7TP0YDEAC0mKzkA+kHZh2O uFyaHeqcAlTZiiKzYA14VW1UCIOdFwVYlreSf17Esgu3+KLTUyrBFBudozX2V+YI8nfW UTroDPaetUT9SoXDX4TZaGdPvbex172bThmKcdOTN1At4DK3KcdO2qzC8Qbz7djZeiz6 nBCxTA2J0qltoPK7/XG9Zm+RyoLS57TUF9vZNFKVZgZlfIO37y9Xwl/fliIX7ueuUKWz 6wJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753810866; x=1754415666; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=T7hQFxW38S45AWdfIqXfBNeOuZaQbdEerVKB3kzajSY=; b=QF7jtB1Np2myO+Ua6ISEpi4IixYLIaRH21s2uPeKjihZ+Tv1nZPPc24nI9dc0yi6kM 9Gt3y8AfcFZcNB4t1cvog12DW1XEKvVNbG+R2sXY1E0H7ypiEGYsqIUwoGQuE0+I0Pr1 VEjG7uJ+pYnZmedg23rAAkwjRDqPwRPMXdx4SZaNnSvjmK23KHM0B+sAbrBbItMwaTJ9 aweueoQ4yZOcfym36O9eyr4ol5bsqajRMf87EcjAvYTmdRYGdK0Dq+3kB4gYfkSBbX1E 3EF3k6FXV4Bp/qYGao9uTQQdAk2ERbs+oH+XCeytuvoZr7bPt/hiY4XKnzlZFoTb5ZRS N7zg== X-Forwarded-Encrypted: i=1; AJvYcCXKLyd+Y2jcYhUP0JXBcJJtuomWQ97HV9Bgqa071gjruoUbZ6vHXwg7KD/bYO3j9oUP8C+UwQ6xoS5vTRZH@postgresql.org X-Gm-Message-State: AOJu0Yx/xJHZY2IGdB8VXDT0mi1+d1CXmRXP89Z8ulBIlG8ynr8PfiIP txQrICvIvsG5I44cj/3nN9OvUuAQB4JbnYjymOLTmRLNNMf8AIVsQaN7OuLzMv0MCA== X-Gm-Gg: ASbGnct2pND37Hx7uA0uALlP/2eaQo61cJ1TDxbF3szBcsk/d/+661dm0R3hI93JGDC WaYlt0DSRFKlAwwP/cWtc1X3qhgYJlW0I5LZR+CHVwq04x8o1+TV39NQyZSNWtdpsS6NIG0Zr9a rxdrut8VVhBLIS+yDkNXoDvpHsNR/Ob0x2sTMY2lRTIy3fjmRP2CRPyp/yKvfa0EKSK+B3ANngI dF5y3NVh5XnAU26mGRCwnSt5ZwsW96f4WquIgpVz0Y3Q/KL5vf6XyBcVpoUhgkiFCbTeboHx03s 2ITnwtIfZfPM758NZKQHDD9ynXZ11VI2lgT0CbnDbaT4YxMGepFPWO3HG+eJ3rTB4BafV98bw2I mRU2DzUxKr3BuxYoZnn5XhZc= X-Google-Smtp-Source: AGHT+IFWn54GE9suswPkc4ikR6NAcyieIzVJP5CvF8RPcJ78+pRumNsRF9WrSD5pPrxSiynl0kDhtA== X-Received: by 2002:a17:903:3bcb:b0:23e:24d2:6e46 with SMTP id d9443c01a7336-24096808453mr5234635ad.7.1753810864362; Tue, 29 Jul 2025 10:41:04 -0700 (PDT) Received: from [172.24.2.126] ([12.126.244.130]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-240765051c5sm18751695ad.92.2025.07.29.10.41.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jul 2025 10:41:03 -0700 (PDT) Message-ID: <20be0a526bb873671d49e43e18dad7ab7cca601b.camel@j-davis.com> Subject: Re: pg_dump --with-* options From: Jeff Davis To: Fujii Masao , Robert Haas , Nathan Bossart Cc: Peter Eisentraut , pgsql-hackers Date: Tue, 29 Jul 2025 10:41:05 -0700 In-Reply-To: References: <7cc52488-f876-4ad3-affd-6e4b0ef0cb09@eisentraut.org> <7bf0246542713d80f12c738c1d365d1365750c18.camel@j-davis.com> <5e398522803da9bf3f9fc33ca43084ec21ab0fcd.camel@j-davis.com> <031558c60e84362898922caa6a90587e7fdf2a57.camel@j-davis.com> <3cc4f166-0b58-47e2-a03c-7c2873d62b14@oss.nttdata.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.3-0ubuntu1 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 2025-07-11 at 09:12 +0900, Fujii Masao wrote: > But to do that, we'd either need to make pg_dump dump statistics > by default, or allow redundant options like --statistics in > pg_restore, > even though it already restores statistics by default. Redundant options might be annoying, but I don't see them as a major problem. > As I understand it, the rough consensus so far is that we'd prefer to > avoid both of these approaches. I'm not clear what the consensus approach is, then. Can you elaborate? > I know some want to change the default > behavior about statistics in pg_dump, though. I don't see a consensus to make stats the default. Regards, Jeff Davis