Re: Issue with query_is_distinct_for() and grouping sets

Поиск
Список
Период
Сортировка
От Richard Guo
Тема Re: Issue with query_is_distinct_for() and grouping sets
Дата
Msg-id CAMbWs49bc4JWn_f9AWFaouZUdurQCPeEmBwMEE-aJymY3UkFRg@mail.gmail.com
обсуждение исходный текст
Ответ на Issue with query_is_distinct_for() and grouping sets  (Richard Guo <guofenglinux@gmail.com>)
Ответы Re: Issue with query_is_distinct_for() and grouping sets
Список pgsql-hackers
On Wed, Oct 22, 2025 at 6:25 PM Richard Guo <guofenglinux@gmail.com> wrote:
> Attached is a patch along the lines of option #2.  The LCOV report
> indicates that there is currently no test coverage for the "else if
> (query->groupingSets)" branch in query_is_distinct_for().  This patch
> also adds test cases to cover that branch.

Here is an updated patch that includes a commit message and adds a new
test case involving DISTINCT clause used with GROUP BY.

- Richard

Вложения

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