Re: Second RewriteQuery complains about first RewriteQuery in edge case

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: Second RewriteQuery complains about first RewriteQuery in edge case
Дата
Msg-id CAEZATCXOL6F=AhP+JZjYuACSHsYKZLdC8-D76MiNJpZi1+VfiQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Second RewriteQuery complains about first RewriteQuery in edge case  (Bernice Southey <bernice.southey@gmail.com>)
Список pgsql-hackers
On Fri, 28 Nov 2025 at 09:21, Bernice Southey <bernice.southey@gmail.com> wrote:
>
> This is neat.
> Should the test be the rules one? Updatable views are more used, but
> your rules example has more coverage.

Yes, I think that's probably better. I've tweaked the test to use both
rules and updatable views, so that it has to deal with more than one
CTE. That way, it validates that we skip already-processed CTEs from
the right end of the list.

Pushed and back-patched.

Regards,
Dean



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