Re: foreign join error "variable not found in subplan target list"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: foreign join error "variable not found in subplan target list"
Дата
Msg-id 3481973.1661825079@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: foreign join error "variable not found in subplan target list"  (Richard Guo <guofenglinux@gmail.com>)
Ответы Re: foreign join error "variable not found in subplan target list"  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-bugs
Richard Guo <guofenglinux@gmail.com> writes:
> To be concrete, I mean something like this:

> +               /* Update the cost and width fields if we have added any
> new columns. */
> +               if (!equal(epq_path->pathtarget->exprs, target->exprs))
> +                       set_pathtarget_cost_width(root, target);

Wouldn't a list_length() comparison be sufficient?  equal() seems
like overkill.

            regards, tom lane



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

Предыдущее
От: Richard Guo
Дата:
Сообщение: Re: foreign join error "variable not found in subplan target list"
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: BUG #17601: Problem running the post-install step. Installation may not complete correctly.