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 1vkHFM-00D0UN-2c for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Jan 2026 07:42:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vkHFL-006oCf-2i for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Jan 2026 07:42:52 +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 1vkHFL-006oCW-04 for pgsql-hackers@lists.postgresql.org; Mon, 26 Jan 2026 07:42:51 +0000 Received: from fhigh-b8-smtp.messagingengine.com ([202.12.124.159]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vkHFI-00000000VKn-0aVa for pgsql-hackers@lists.postgresql.org; Mon, 26 Jan 2026 07:42:51 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 934C37A00A7; Mon, 26 Jan 2026 02:42:45 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Mon, 26 Jan 2026 02:42:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1769413365; x=1769499765; bh=cZ1DWU0Fd+ OUG1aQeSaePC9+TNk6hHVHEm76RwMwvHQ=; b=GBTLn9qOv2EFCD7cGnpfNxAMrT LCRh74QpT2tt/FHjswVVN/Y3GLgZCVINAO37WmEpMyizHsanAbnsLONJjd7xfyp4 phL6g6mQMCOotbNkFGO7B3HZECrEntdDiiBJWeU9aDy6JpoQG09M3eXq6usBtkny KRPIicvPzvl6v99EnFTV1r67WcK+Zvnjws0b+pvxsJXCNXbpvomrkT+heklj+pnj xBvo4+cRcMxs3EbDU7K2H3ZIIfeRcaq8VcNe3AWFgfnuJ7P0+SLat36JvHDy+736 988p6YZafeb3pCTpSphubo4/k2sUFHJwTq+61DMuxqzGiy9Hr1+ji3mi8RWA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1769413365; x=1769499765; bh=cZ1DWU0Fd+OUG1aQeSaePC9+TNk6hHVHEm7 6RwMwvHQ=; b=c5lXkAJwBFU9bDgSSotXYCCaqHAodGC2t5UxWOqIIRUhNMXEOci uD0QrQYKHb74bwtGLuChMPRgPW1w/23zS9haMDSMrwxUlop3o4H5IUJpeYoOh+jE dvgEKZkhsg1A/I4eLwAHkZJAdQTq3JeGEAsRMYFdFWJOywGgRJh5GYZ89cj6gZCo 9dRqubEpgDVPSQA+OVmHk+Wj3Ar7cBmuoL7gRxjfQpJhC3CsEEzO/skSP0CYr/9A l9e6Lwqy6cf4BplXk1j9yI916yjNiVpaQ289hJ0UP3xi/6oL8eYjdAeimUvPXUt3 QZCeceXDpnIiw/fGrqeWuSe0cVgjkKTYX0w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduheejuddtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheptghorh gvhidrhhhuihhnkhgvrhesghhmrghilhdrtghomhdprhgtphhtthhopehlihdrvghvrghn rdgthhgrohesghhmrghilhdrtghomhdprhgtphhtthhopehtnhgurhifrghnghesghhmrg hilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhp ohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Jan 2026 02:42:43 -0500 (EST) Date: Mon, 26 Jan 2026 16:42:38 +0900 From: Michael Paquier To: Corey Huinker Cc: Chao Li , Tender Wang , PostgreSQL Hackers Subject: Re: Extended Statistics set/restore/clear functions. Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ATAqsULVSwShJicQ" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ATAqsULVSwShJicQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 25, 2026 at 05:20:13AM -0500, Corey Huinker wrote: > Ok, here's my attempt at splitting things out: >=20 > 0001 - Add attribute stats test for multiranges This was indeed independent of the rest, qualifying as a test defect on v18, so applied first.=20 > 0002 - Basic restore functionality ndistinct This has been combined with portions of 0007 to make sure that some docs are there, with irrelevant portions related to other stats kinds removed. > 0003 - add dependencies This one is simple. It still needs a couple of adjustments (elog messages on one line, one more test). > 0004 - add mcv > 0005 - add expressions These would be next in line. > 0006 - Add in the before/after diff test on a stats object (in theory this > could be added after 0002) I think that this would mean 0005 now. > 0007 - add SGML Partially done. > 0008 - restore MAINTAIN test (in theory this could be merged into 0002) I was hesitating to do exactly that, but just split things at the end. This patch was actually incorrect, with regress_test_extstat_clear as role name getting partially used. The output was wrong. Another side note: I am not sure how the CI or the buldfarm did not notice that, but I've found a bug in the tuple initialization logic while reviewing more the code, fixed in 114e84c532d1. Perhaps my build environment was more efficient in detecting that. -- Michael --ATAqsULVSwShJicQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAml3Gu4ACgkQnvQgOdby QH3dkQ/5Ae5boISQvkWydyFgaSytYAK1qAhg2I45SbZejVFiOObPcJVavnLsznAh lTRBngl8gENzbjOclr0bzMFBCy7Qia+g69m9EoQSG6tWjTiymu+j6aVtbEN7w8Us ohIdPn/V1oVuZXKwc+MhTSxpm5WVaG3AswfXq6u7Tw/Msye5yB3BZtpVKYXVsd7x SytKZw6fN7Mk/Uu0BjfWpX5WQE3oQDpCGy+dukC8Va5/n00lXzkkeZTh4w+dart2 b3fxHgCQgzvn/x/l3INnGXBOuXFQbo7LZh+kwrlWuG18N6wyxSScgCulQROGeH1D GYMbhZJ7hRWwPNgr/CLaRSPhT24FRR+w8fDXoMZgseUdG9bzteopM44aZZX53jrw 85SPrup8zAG/MwI3dfNiBSd49JWFAmntj/10u0tgClPqMkA5r19Qt8ToamRfddU9 AKDR2eB0mO0Kns7DmQJrjCBIYhSdlDJkybYZyVXvY8Xh+KGSSiIRaFAmAsXoS98d QXDR8AUSQ2rfRiWA2GpyLEO36geCDxjmb8jobFPkyrBVN6tA4CHU3LNxfBAUIg2U I02915OgDNlIQkMzr4HqdXLibwopziavzcKzOlDP9YEgca/qgGSiQTXtON13y/5k p+cA7N7Mi+2qysKU9zjbYBj4ohJYnOVGjey656PBUBvZzEBin8Q= =RdSs -----END PGP SIGNATURE----- --ATAqsULVSwShJicQ--