Re: WIP patch: distinguish selectivity of < from <= and > from >=

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kuntal Ghosh <kuntalghosh(dot)2007(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP patch: distinguish selectivity of < from <= and > from >=
Date: 2017-07-07 15:12:49
Message-ID: 16232.1499440369@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> I looked at that again and realized that one of the answers I was missing
> lies in the behavior of analyze.c's compute_scalar_stats().

I updated the patch's comments based on this. I'll just attach the
selfuncs.c part of the patch, since nothing else changed.

regards, tom lane

Attachment Content-Type Size
improve-scalar-inequality-estimates-3-selfuncs-only.patch text/x-diff 18.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-07-07 15:39:19 Re: New partitioning - some feedback
Previous Message Simon Riggs 2017-07-07 13:36:30 Re: New partitioning - some feedback