Re: Suppressing unused subquery output columns

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Suppressing unused subquery output columns
Дата
Msg-id 26238.1402588987@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Suppressing unused subquery output columns  (Robert Haas <robertmhaas@gmail.com>)
Ответы refactoring allpaths.c (was Re: Suppressing unused subquery output columns)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Jun 5, 2014 at 10:27 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> The attached draft patch fixes this by deleting unused output expressions
>> from unflattened subqueries, so that we get:
>> ...
>> I'm not entirely convinced that it's worth the extra planning cycles,
>> though.  Given the small number of complaints to date, it might not
>> be worth doing this.  Thoughts?

> I've encountered this issue before and think it would be great to fix
> it.  I'm not sure precisely how many cycles it's worth paying, but
> definitely more than zero.

We have a couple votes for this patch and no one has spoken against it,
so I'll go ahead and push it into HEAD.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Shared memory changes in 9.4?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: B-Tree support function number 3 (strxfrm() optimization)