[HACKERS] Re: Extended statistics is not working on Vars hidden under aRelabelType

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема [HACKERS] Re: Extended statistics is not working on Vars hidden under aRelabelType
Дата
Msg-id 20171012131721.ijduvbccdfo6ddut@alvherre.pgsql
обсуждение исходный текст
Ответ на [HACKERS] Re: Extended statistics is not working on Vars hidden under aRelabelType  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Ответы Re: [HACKERS] Extended statistics is not working on Vars hidden under a RelabelType  (David Rowley <david.rowley@2ndquadrant.com>)
Список pgsql-hackers
Tomas Vondra wrote:
> On 10/10/2017 05:03 AM, David Rowley wrote:
> > Basically, $subject is causing us not to properly find matching
> > extended stats in this case.
> > 
> > The attached patch fixes it.
> > 
> > The following test cases is an example of the misbehaviour. Note
> > rows=1 vs rows=98 in the Gather node.
> 
> Thanks for noticing this. The patch seems fine to me.

I propose this slightly larger change.

-- 
Á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 по дате отправления:

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: [HACKERS] Parallel Bitmap Heap Scans segfaults due to(tbm->dsa==NULL) on PostgreSQL 10
Следующее
От: David Rowley
Дата:
Сообщение: Re: [HACKERS] Extended statistics is not working on Vars hidden under a RelabelType