Re: pgsql: Fix planning of SubLinks to ensure that

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: pgsql: Fix planning of SubLinks to ensure that
Дата
Msg-id
63990.65.211.31.251.1165494312.squirrel@www.dunslane.net
Ответ на
Список
Дерево обсуждения
pgsql: Fix planning of SubLinks to ensure that Vars generated from tgl@postgresql.org (Tom Lane)
Re: pgsql: Fix planning of SubLinks to ensure that "Andrew Dunstan" <andrew@dunslane.net>
Re: pgsql: Fix planning of SubLinks to ensure that Tom Lane <tgl@sss.pgh.pa.us>
Tom Lane wrote:
> Log Message:
> -----------
> Fix planning of SubLinks to ensure that Vars generated from transformation
> of
> a sublink's test expression have the correct vartypmod, rather than
> defaulting
> to -1.  There's at least one place where this is important because we're
> expecting these Vars to be exactly equal() to those appearing in the
> subplan
> itself.  This is a pretty klugy solution --- it would likely be cleaner to
> change Param nodes to include a typmod field --- but we can't do that in
> the
> already-released 8.2 branch.
> Per bug report from Hubert Fongarnand.
>


I'm slightly confused by this commit message. Is this commit on HEAD a
temporary measure pending a cleaner fix, or is it the intended permanent
fix, notwithstanding the kludginess?

cheers

andrew

В списке pgsql-committers по дате отправления
От: Simon Riggs
Дата:
От: Tom Lane
Дата:
FAQ