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.96) (envelope-from ) id 1vzcsv-001Aqj-0U for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Mar 2026 15:51:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vzcst-00HKqm-1S for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Mar 2026 15:51: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.96) (envelope-from ) id 1vzcst-00HKqd-0L for pgsql-hackers@lists.postgresql.org; Mon, 09 Mar 2026 15:51:07 +0000 Received: from mail-oa1-x29.google.com ([2001:4860:4864:20::29]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vzcsr-00000001oxw-0SiQ for pgsql-hackers@lists.postgresql.org; Mon, 09 Mar 2026 15:51:07 +0000 Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-4043b27ddeaso4994253fac.1 for ; Mon, 09 Mar 2026 08:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773071463; x=1773676263; darn=lists.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=lhJxQg1KyAHsVi6ENdaTcfqDZWv2eAgIO0pQKBHkUqg=; b=Q9XrhIZqKufFS32yJGe4MA4vYvpE4L5b4eAN/nB47KBnWBkSexJo/u5uRdWh1LH/Dr XLGGd9VQjHdazWsx6L4bOG/JldtQdvzCNdyK8atsQYcn/oDyGhFxhCTQSv2TybasFN4S 1ocyZcLKG9Xyc+NSGXBRagDydJ08nDBhukYGHy4i2qq1H2iVpQsSY82TZnxPKjMPVWRK 50Y0oz2FCPgGfnPp1N9KkTtLh0qoo4tI0wBgZ8tdYqa1qQEerlX8IJ4O7mb3fhPJsG4H J5dQ/uubRRzHxkUGRb8GCe4APop1lB+HXhVMZVgFJtrO/d8DKmQmqqaDjpfxOxWB1iRr MEiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773071463; x=1773676263; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lhJxQg1KyAHsVi6ENdaTcfqDZWv2eAgIO0pQKBHkUqg=; b=OX7TKQbnJcug6AqV8rLmOqnzjkqOsAgdn+xzm7IyIX1C6Gay3bqvugOVARwT7Txhj4 y4zncy1DnNck+2Vy5VHEU08IdNlM/p2Ypi4/0RyHFo2Kt0Lo7IwF3d4OhspbmEYvFEh9 vfhCXOoO2wuW54nnazOVU/gJhAtNGd0beUlIc2LkdYTvZTZF1u+XAs148UrFNcTU0Czj 9BwzpBByMzep0WdajQMaBVmBhq1/O0y8X/FyhZ5p9IwYp/AQwGsSzfW5NGJzw8oaTBnv Llmiiiuzt8feexkRuC15Eq+P8uT9fSvp/PrIcKwinFQfJeL32lU4cDDIvw+O5M/F9Efh KI9g== X-Forwarded-Encrypted: i=1; AJvYcCWgqJ5p+k3mxso15l+blMozcyBHCOYRiTVpBqP8ZhyB0rqiD1R0uGzbvu862uwOTX3u0Fsvk2sU1CJLkX6l@lists.postgresql.org X-Gm-Message-State: AOJu0YwUfqHA/P+r2GH9vsRwoxKRMAmrpm8zjNjrC+McOQYmmLoclJKk R4DP+s1FW77PYyJMRpkKec7Y/shCj+4ATdIwq/YAaAZyqPt0HP12P00b X-Gm-Gg: ATEYQzz/NZ4IZCI63+bqGbBrL0P/cEC34WFV8BWxCEhNYOWptaumLDdKV5ibrFynmaM 0sTGQQLj7XCI+xMHOAEAiw+PXLDLO367miwAiw6N0EHQRm8NSbSQsb1NSjHkYMfCH0d11IfVa5W 5mctPZFGBENjJDjqqWLqerkF79n8fJkEDm7/lgpy1BzdIT7Gshi8bWNFss/gkTdp6K4nfGoLTlM OdBePqSIY2Rmfpz0PK7xvhWf1bP2GnqhGP2yjUvNZmMYRLYdUzDXFDcSH19qldevQHNzwPf7uj5 yIMzSxezXLYVVmbCIN+RZ3n46NrOsFRq3X5pc/MZlCYc0/gw/z8XWMWp4Auagrd4wgFBLDIERhu MF7vkFqiYvIV39ipeT92OO1G6C+UTlNoB/a8CJBmrl8tqobTHW/emCuhNPQnZNCs6C+Y8XNKcpx cZ4c7hhBpOSy/RC7ACm3GjJOw3aISylF4kF2jXaZU2jNgYwu3zfGj0LmfxiYTcM2naaWUeUKg4D uLIauGVajWp4zWvq5m8cQ== X-Received: by 2002:a05:6871:e848:b0:417:3613:d4fc with SMTP id 586e51a60fabf-4173613dcf3mr1416630fac.33.1773071463115; Mon, 09 Mar 2026 08:51: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 586e51a60fabf-41756abbc1asm37918fac.4.2026.03.09.08.51.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Mar 2026 08:51:02 -0700 (PDT) Date: Mon, 9 Mar 2026 10:51:01 -0500 From: Nathan Bossart To: Sami Imseih Cc: Corey Huinker , pgsql-hackers@lists.postgresql.org Subject: Re: Add starelid, attnum to pg_stats and leverage this in pg_dump Message-ID: References: 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, Mar 09, 2026 at 10:44:58AM -0500, Sami Imseih wrote: >> Oh, a question I forgot to ask: why wouldn't we do the same thing for >> pg_stats_ext and pg_stats_ext_exprs? > > [...] > > If we do add relid there, it will be for consistency only. It might be only for consistency for now, but it strikes me as something that could be handy down the road (in which case it'd be nice to minimize the number of versions that need a fallback). -- nathan