[HACKERS] Re: Extended statistics is not working on Vars hidden under aRelabelType - Mailing list pgsql-hackers

From Alvaro Herrera
Subject [HACKERS] Re: Extended statistics is not working on Vars hidden under aRelabelType
Date
Msg-id 20171012155656.2umr7dyy7ijhx3hk@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] Extended statistics is not working on Vars hidden under a RelabelType  (David Rowley <david.rowley@2ndquadrant.com>)
Responses Re: [HACKERS] Extended statistics is not working on Vars hidden under a RelabelType
List pgsql-hackers
David Rowley wrote:

> The reason Tomas coded it the way it was coded is due to the fact that
> there's already code that works exactly the same way in
> clauselist_selectivity(). Personally, I don't particularly like that
> code, but I'd rather not invent a new way to do the same thing.

I pushed your original fix.  I still maintain that this should be
written differently, but I'm not going to try to change that in a hurry
and together with a bugfix.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Fix a typo in execReplication.c
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] GUC for cleanup indexes threshold.