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 1uU6ob-00FlBD-Tq for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Jun 2025 16:48: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 1uU6oZ-00DggH-85 for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Jun 2025 16:48:07 +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 1uU6oY-00Dgel-R5 for pgsql-hackers@lists.postgresql.org; Tue, 24 Jun 2025 16:48:07 +0000 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uU6oX-003rR4-0O for pgsql-hackers@postgresql.org; Tue, 24 Jun 2025 16:48:07 +0000 Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-3df2f20f4bbso1925935ab.0 for ; Tue, 24 Jun 2025 09:48:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750783683; x=1751388483; 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=vdRoCE0ZdwrCjLYdbZ00Z5buvXARgt5wSANnYl5ZyZk=; b=a+L2a8Ijcbbk+RGwHvKygGwxA5niT98O6gwWGqdUDp/YnR7C19ikqu7GTjxGgXnEY7 62vZegdWU2Bwi2kVuRiXf/NuhSPEnRfz4ou1UbPSBAYRSmQGFAbiCTFzgNCNwF8ARWO+ s/7ZUfEvWTKR7u/j2yXqX4jpSFn99rxevymj3jdvUXIN0gKH74d31I8F+aUcZzPO4k1J 59Z4wyEXA5NIl431VI2nSwsFbcB4st+pKbix+EPwIv+Mg4lG4cYArHqcnBIWhrJUgBA4 d7tIgkTZu6wGDpzS2Y1dg6+UALq/g4hUoOGYQE6xMUl6KRO7xcFOXDjV68hdozBou/1N OwOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750783683; x=1751388483; 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=vdRoCE0ZdwrCjLYdbZ00Z5buvXARgt5wSANnYl5ZyZk=; b=R/4lHV9mdzUMMmBrGu1IRa6NwnBQBl8VV/sgON8FD6curUrbRIeyY6RCsYus34ATaN 5QGLAeDsprnyToeT0E8PCcMb2ynDteyMhdBfNcn48JnzElEmDN0Z1Hu8v8RK2P4jBgjX +V99u3V+kfUSPYtFdjgYMnYX1ozBoRkogaYsYfU2sSRiwocuTQQLwcUMZ8SofYRaxSoJ J8tGuHroIddEf2lgc4nefX8QaEasC8thFh4i5NpnVqIR1hJpK6cYP6Rccwvn4E4VMVuN dk+VyQaOIwPVECt6R2eGy2XVztgOFfAm0SC93LZ5mr1ThSbN/4BZyo1MhoTwrGrA8Qk2 Huzg== X-Forwarded-Encrypted: i=1; AJvYcCVvvDR0jU1QcJMJLSCRxG0BsoZbMC+dGMmLzosXNkFdGafre2XVF99QxQLatMVNZO2srBsT5nyrMFgns+1r@postgresql.org X-Gm-Message-State: AOJu0Yygl6g2SpFNzJsWOZMBXGs+cE9PbJ9iCvKQLJ/+AgDg4bBt33lF BUMvMbAIRGUQ5szRRyvWFrxg30TVYMloMMwDVi5g++9sosXdMo/J7oYx X-Gm-Gg: ASbGncthkLpRKnDtj0h8UMQ5erqGKhPmpel0CtAxeMMCOuJnuq3GLi/klLTVrOofGkF obepz3KICU2Rq48Q6gfA0MjpOcFoAq9CftnruD0k1LqdCghY+qw6l9Ve0S4G8Dx5IbJVhGqcCkb MFRCO7i1mTVxvaSMHhvQWimNIKmlzDipH9SOv7VaxwK7iyA4R92W9o129tgZjfi08Kn3uCvzBWi hAlRYJJz94conBdvXDRs40i75pXDyaD0ugRSYCUmoJIl7eAWrJRsicSSd2iq/PcJk/J2KoK4fnT R+W9oVmke88hQ+x9vvCceSCYyzDbdfZaIxcqZ64WIfQ5EaUNVOIDYe5S+LLxC5SYDcFSCTBjI/z mH+R6F82OhyXfU7waW0zqlAJRi6trirPHeRowuSH8QYO2P2XvHRkU X-Google-Smtp-Source: AGHT+IHmlvD5iJPrxqqnBZAQWHj4P5im5UTdqCWCqnw6sMlzOU2o4ufckf5MkobVRPyTTlAJ0pWpAg== X-Received: by 2002:a05:6e02:2217:b0:3dc:7a9a:4529 with SMTP id e9e14a558f8ab-3de38cb10cdmr201165555ab.16.1750783683152; Tue, 24 Jun 2025 09:48:03 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3de3772e6b4sm38242575ab.45.2025.06.24.09.48.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jun 2025 09:48:01 -0700 (PDT) Date: Tue, 24 Jun 2025 11:47:58 -0500 From: Nathan Bossart To: Robert Haas Cc: Jeff Davis , 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> <031558c60e84362898922caa6a90587e7fdf2a57.camel@j-davis.com> 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 Mon, Jun 23, 2025 at 01:38:10PM -0400, Robert Haas wrote: > I had thought we had a consensus that pg_upgrade should preserve stats > but regularly pg_dump shouldn't include them; perhaps I misunderstood > or that changed. I think it's a bit of both. I skimmed through the past discussions and found that not only was there a rough consensus in 2024 that stats _should_ be on by default [0], but also that an updated vote tally didn't show much of a consensus at all [1]. Like you, I thought we had pretty much closed that door, but the aforementioned analysis along with further discussion has me convinced that we might want to reconsider [2]. [0] https://postgr.es/m/e16cd9caf4f5229a152d318d70b4d323a03e3539.camel@j-davis.com [1] https://postgr.es/m/aFCIB1AwXuNzxHXX%40nathan [2] https://postgr.es/m/aFC9rWSeFz7c07uI%40nathan -- nathan