From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: PG 12 draft release notes
Date: Tue, 21 May 2019 17:00:31 -0400
Message-ID: <5121.1558472431@sss.pgh.pa.us> (raw)
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>
Bruce Momjian <bruce@momjian.us> 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 <function>generate_series()</function>,
> <function>unnest()</function>, 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, bruce@momjian.us, andres@anarazel.de
Subject: Re: PG 12 draft release notes
In-Reply-To: <5121.1558472431@sss.pgh.pa.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> <5121.1558472431@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox