Re: Hook for Selectivity Estimation in Query Planning - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: Hook for Selectivity Estimation in Query Planning
Date
Msg-id CAJ7c6TNiLhVELeX7MJ_KP8x21+9RqJ1uCg4dJukiwJ4ARBFBuQ@mail.gmail.com
Whole thread Raw
In response to Hook for Selectivity Estimation in Query Planning  (Andrei Lepikhov <lepihov@gmail.com>)
Responses Re: Hook for Selectivity Estimation in Query Planning
Re: Hook for Selectivity Estimation in Query Planning
List pgsql-hackers
Hi,

> I would like to discuss the introduction of a hook for evaluating the
> selectivity of an expression when searching for an optimal query plan.
> This topic has been brought up in various discussions, for example, in [1].
>
> [...]

As I vaguely recall recent proposals like this ("Pluggable TOASTer" to
name one) this approach was criticised. Hooks per se don't add value
for the end user. They only put the burden of maintaining them on the
community while all the real features are implemented in proprietar
extensions. If you believe something is missing in Postgres,
contribute it to the upstream so that anyone will benefit from it.

Personally I agree with the sentiment, thus -1.

-- 
Best regards,
Aleksander Alekseev



pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: is git.postgresql.org working fine?
Next
From: "258790519"
Date:
Subject: Re: is git.postgresql.org working fine?