Re: Reordering DISTINCT keys to match input path's pathkeys

Поиск
Список
Период
Сортировка
От Richard Guo
Тема Re: Reordering DISTINCT keys to match input path's pathkeys
Дата
Msg-id CAMbWs4-umfOaTKtppL7mw0X312+bw5g8etJBQLLQ1MSuK1hr-w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Reordering DISTINCT keys to match input path's pathkeys  (Andrei Lepikhov <lepihov@gmail.com>)
Ответы Re: Reordering DISTINCT keys to match input path's pathkeys
Re: Reordering DISTINCT keys to match input path's pathkeys
Список pgsql-hackers
On Fri, Nov 22, 2024 at 5:40 PM Andrei Lepikhov <lepihov@gmail.com> wrote:
> I wonder if it would be possible to print only three rows instead of 10
> to prove the DISTINCT's correctness.

There are ten distinct values in the 'distinct_tbl' test table, so
I think it’d better to print all of them to verify correctness.

> Also, to stabilise tests with parallel workers, I would recommend
> setting max_parallel_workers_per_gather into 1 and enabling
> debug_parallel_query.

Since we're testing sort-based DISTINCT, the results will always be
well-ordered, so they should be pretty stable as is.

I've applied some of the changes you suggested in your previous email
and pushed the updated patch.  Thank you for your review.

Thanks
Richard



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