pgsql: Fix oversight in recent changes to enable the 'physical tlist'

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Fix oversight in recent changes to enable the 'physical tlist'
Дата
Msg-id 20051019173121.147F5DA58C@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix oversight in recent changes to enable the 'physical tlist'
optimization for subquery and function scan nodes: we can't just do it
unconditionally, we still have to check whether there is any need for
a whole-row Var.  I had been thinking that these node types couldn't
have any system columns, which is true, but that loop is also checking
for attno zero, ie, whole-row Var.  Fix comment to not be so misleading.
Per test case from Richard Huxton.

Modified Files:
--------------
    pgsql/src/backend/optimizer/plan:
        createplan.c (r1.201 -> r1.202)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/createplan.c.diff?r1=1.201&r2=1.202)

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

Предыдущее
От: am@pgfoundry.org (User Am)
Дата:
Сообщение: press - pr: Partial translation of the press release to Romanian.
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Ensure that the Datum generated from a whole-row Var contains