pgsql: Fix planning of SubLinks to ensure that Vars generated from

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix planning of SubLinks to ensure that Vars generated from
Дата
Msg-id 20061206194001.D50409FA1DE@postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Fix planning of SubLinks to ensure that  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-committers
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.

Modified Files:
--------------
    pgsql/src/backend/optimizer/plan:
        subselect.c (r1.112 -> r1.113)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/subselect.c.diff?r1=1.112&r2=1.113)

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

Предыдущее
От: neilc@postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Add a txn_start column to pg_stat_activity.
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix planning of SubLinks to ensure that Vars generated from