Re: query_is_distinct_for does not take into account set returning functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: query_is_distinct_for does not take into account set returning functions
Дата
Msg-id 7496.1404830713@sss.pgh.pa.us
обсуждение исходный текст
Ответ на query_is_distinct_for does not take into account set returning functions  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> I think we should probably include the logic to test for set returning
> functions into query_is_distinct_for.

It strikes me that there's only a problem if the SRF is in a tlist entry
that is not one of the DISTINCT or GROUP BY columns, respectively.  It
may not be worth the extra complexity to figure that out, though.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Extending constraint exclusion for implied constraints/conditions
Следующее
От: geohas
Дата:
Сообщение: How to use Makefile - pgxs without gcc -O2 ?