Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khW2I-00033j-2t for pgsql-committers@arkaria.postgresql.org; Tue, 24 Nov 2020 10:59:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1khW2G-0003qO-SJ for pgsql-committers@arkaria.postgresql.org; Tue, 24 Nov 2020 10:59:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khW2G-0003qH-NS for pgsql-committers@lists.postgresql.org; Tue, 24 Nov 2020 10:59:00 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khW2E-0000Dj-KB for pgsql-committers@lists.postgresql.org; Tue, 24 Nov 2020 10:58:59 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 011FB5C0052; Tue, 24 Nov 2020 05:58:58 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 24 Nov 2020 05:58:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=vnc3F/EAQxgrUxl+n2V5Gm+Uled TtbYbIT9NLdEJrEs=; b=VwL760m8/Q77ddQdqKVLqMNAgPWYdie3WzCOUL2D5zC AJnUKDpUy1b4JBVD6COi9DJjxna88vuIYofD46gCloznSJqM3xxDP0wP793qDk+i LjvP/Di3af2BcLJebeO8RGYHvCKykw5wsaMpfW5FUU/yPnXDE6jS8/p2v78LUUOK TQFPYcEzNrxu8pQhcf21KQHSVAPVvpWuK9tjMN171VLY/LzqTZaP/P3U/QHfxk5Y O1KhdsYGjIbKzKPCxxtB1NKTeMVejhzSciQ52LDoX4dlrJ4u/eDNMtcsLw2WHioU z8Md5ZQkW6ZDvf47i7TRGNSmq0BYMWOJG8FCgjZd7cQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=vnc3F/ EAQxgrUxl+n2V5Gm+UledTtbYbIT9NLdEJrEs=; b=ZTYHmH6tpEEsUWSB0ZXwlG /M0WiGxzr3x3nKcLSjn33KNY17YfQ7IGzPTtjXm4oWOfKbfS3h4tl++UMowjy4pZ Xrzx/iqicJOSvHvEnnYOKcEkCZTiAzFCS4BI15bSvmclK+iw6be2z8XSgtJXV+8l JfCZUNRwD2CbBNB5AkkiYzdFhQNL80jX36RA41Phk+pgg4ZwW6NXjPqAHVHoqDom G98esEdx8abJrt6egE//EKcddoSNRk+e12++7qFbXnt11a7L+uFSL0kp7sgqdzVD REcIRrJBgNkANQQzDQdzA1Z2D8OrdHoEUcnadRnLNzITcCe69LEsY9PGhA31MXMw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegkedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeffudeffeelgffhkedukeekvedv udfgieetkeekudelfeevhffhffdtudffieeutdenucffohhmrghinhepphhoshhtghhrvg hsqhhlrdhorhhgnecukfhppeduuddurddutddvrddukedtrddukeehnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqh huihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id A1A6A3064AA6; Tue, 24 Nov 2020 05:58:56 -0500 (EST) Date: Tue, 24 Nov 2020 19:58:53 +0900 From: Michael Paquier To: Heikki Linnakangas Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Move per-agg and per-trans duplicate finding to the planner. Message-ID: <20201124105853.GH3046@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Op27XXJsWz80g3oF" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Op27XXJsWz80g3oF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Heikki, On Tue, Nov 24, 2020 at 08:53:42AM +0000, Heikki Linnakangas wrote: > Move per-agg and per-trans duplicate finding to the planner. >=20 > This has the advantage that the cost estimates for aggregates can count > the number of calls to transition and final functions correctly. >=20 > Bump catalog version, because views can contain Aggrefs. >=20 > Reviewed-by: Andres Freund > Discussion: https://www.postgresql.org/message-id/b2e3536b-1dbc-8303-c97e= -89cb0b4a9a48%40iki.fi The regression tests of sepgsql are broken: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Drhinoceros&dt=3D2= 020-11-24%2009%3A52%3A17 Reordering the lines in the output file would fix the issue. -- Michael --Op27XXJsWz80g3oF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl+8520ACgkQnvQgOdby QH3/xw//al/YlsOKeNQ6bZjhuYFRqSmDLXU6t2UP4AkaQnyaIFv6Jps6U+RXscQj c2lzOxX5XmEjGL+jIfcGDeMEImuoC+jyPcYfgbkowNEl7Ni6Fkh6li6Neur7KEGe 0/nqETJVtGvwz/AEpAudylj9kZ9LYQc+HaXlDmyZrotQv42YajI2Nf5F426DbFYA tfSk4Gy30IpZdekwX4i1BL9cAAjeZ0Dxfu51rre2jFEmkRq6zM1Pl8KObG7P/EK7 s9+nwibh24rFPNvkuvav5JMGAe5n3OIl8CPeuLB79vMLb+y7S6ADzscmxmvJn1JD LREs/sV56VWRbEEdfwm9tFYJk4HlYHTWrgyWqv+5NKWXuJrILakvht3FS8/3M1XL O4DgV7ocyCueTzwukIvxaPEg3wEiVgOZ/GaE5H83VQSaFgJyYEWQ/Hm9RMfaxawS SbUhYzQxJULkP9hVTgDDlLocD61e9L4LYLHAwVX8KAJtURRpaMkb1BwUae/yM+1V mQrtC7oPakfkFf9Zpgau3XBib0Xwf55DeJgYH2iOq20HwYrkldiFPc1CvLZr2MsW jbJIUl1jpC2ZgL89Z1+qUSwCN9l9F6doFwpVYROrKjJduaOD8ewMHeVzhZrHS9xi /NJCTd4FQuvMg/eLnoymV7WZSuCacnfhdpgTqasMXaAaL2d/yvc= =+OHF -----END PGP SIGNATURE----- --Op27XXJsWz80g3oF--