Re: [PATCH] minor optimization for ineq_histogram_selectivity() - Mailing list pgsql-hackers

From Frédéric Yhuel
Subject Re: [PATCH] minor optimization for ineq_histogram_selectivity()
Date
Msg-id 62f84c4d-5daf-3e7a-c1fb-45057a0ea1ac@dalibo.com
Whole thread Raw
In response to [PATCH] minor optimization for ineq_histogram_selectivity()  (Frédéric Yhuel <frederic.yhuel@dalibo.com>)
Responses Re: [PATCH] minor optimization for ineq_histogram_selectivity()
List pgsql-hackers

On 10/24/22 17:26, Frédéric Yhuel wrote:
> Hello,
> 
> When studying the weird planner issue reported here [1], I came up with 
> the attached patch. It reduces the probability of calling 
> get_actual_variable_range().

This isn't very useful anymore thanks to this patch: 
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=9c6ad5eaa957bdc2132b900a96e0d2ec9264d39c

Unless we want to save a hundred page reads in rare cases.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: drop postmaster symlink
Next
From: Tom Lane
Date:
Subject: Re: Another multi-row VALUES bug