Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTBsO-0003cv-JE for pgsql-hackers@arkaria.postgresql.org; Tue, 21 May 2019 21:00:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hTBsM-0000mh-G9 for pgsql-hackers@arkaria.postgresql.org; Tue, 21 May 2019 21:00:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTBsM-0000gm-2p for pgsql-hackers@lists.postgresql.org; Tue, 21 May 2019 21:00:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTBsJ-0001o0-NK for pgsql-hackers@postgresql.org; Tue, 21 May 2019 21:00:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x4LL0VAa005122; Tue, 21 May 2019 17:00:31 -0400 From: Tom Lane To: Bruce Momjian cc: Andres Freund , PostgreSQL-development Subject: Re: PG 12 draft release notes In-reply-to: <20190521204723.e54hlzwhagwo3mmf@momjian.us> References: <20190511203324.ktzqamguexyg3hx3@momjian.us> <20190520221719.pqgld3krjc2docr5@alap3.anarazel.de> <15486.1558393010@sss.pgh.pa.us> <20190520230934.tceio5lzlr5444nm@alap3.anarazel.de> <22793.1558399695@sss.pgh.pa.us> <20190521204723.e54hlzwhagwo3mmf@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Tue, 21 May 2019 16:47:23 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5120.1558472431.1@sss.pgh.pa.us> Date: Tue, 21 May 2019 17:00:31 -0400 Message-ID: <5121.1558472431@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian writes: > On Mon, May 20, 2019 at 08:48:15PM -0400, Tom Lane wrote: >> Yes, this should be in "source code". I think it should be merged >> with a391ff3c and 74dfe58a into something like >> >> Allow extensions to create planner support functions that >> can provide function-specific selectivity, cost, and >> row-count estimates that can depend on the function arguments. >> Support functions can also transform WHERE clauses involving >> an extension's functions and operators into indexable clauses >> in ways that the core code cannot for lack of detailed semantic >> knowledge of those functions/operators. > The new text is: > Add support function capability to improve optimizer estimates > for functions (Tom Lane) > This allows extensions to create planner support functions that > can provide function-specific selectivity, cost, and row-count > estimates that can depend on the function arguments. Also, improve > in-core estimates for generate_series(), > unnest(), and functions that return boolean > values. Uh ... you completely lost the business about custom indexable clauses. I agree with Andres that that's the most important aspect of this. > Notice that there are some improvments in in-core functions. Should this > still be moved to the source code section? I doubt that that's worth mentioning at all. It certainly isn't a reason not to move this to the source-code section, because that's where we generally put things that are of interest for improving extensions, which is what this mainly is. regards, tom lane