Re: Surely this code in setrefs.c is wrong?

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Surely this code in setrefs.c is wrong?
Дата
Msg-id CAApHDvruz2irxACqN57MJw3Vd0jOqa+8xFuG5Mz0q_XPpOir2A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Surely this code in setrefs.c is wrong?  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On Sun, 10 Sept 2023 at 21:07, David Rowley <dgrowleyml@gmail.com> wrote:
>
> On Sun, 10 Sept 2023 at 11:22, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >         if (!OidIsValid(saop->hashfuncid))
> >             record_plan_function_dependency(root, saop->hashfuncid);
> >
> >         if (!OidIsValid(saop->negfuncid))
> >             record_plan_function_dependency(root, saop->negfuncid);
> >
> > Surely those if-conditions are exactly backward, and we should be
> > recording nonzero hashfuncid and negfuncid entries, not zero ones.
>

> I'll push fixes once the 16.0 release is out of the way.

Fixed in ee3a551e9.

David



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Redundant Unique plan node for table with a unique index
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Inefficiency in parallel pg_restore with many tables