Обсуждение: pgsql: Extend whole-row Var evaluation to cope with the case that the

Поиск
Список
Период
Сортировка

pgsql: Extend whole-row Var evaluation to cope with the case that the

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Extend whole-row Var evaluation to cope with the case that the sub-plan
generating the tuples has resjunk output columns.  This is not possible for
simple table scans but can happen when evaluating a whole-row Var for a view.
Per example from Patryk Kordylewski.  The problem exists back to 8.0 but
I'm not going to risk back-patching further than 8.2 because of the many
changes in this area.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/executor:
        execQual.c (r1.199.2.2 -> r1.199.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execQual.c?r1=1.199.2.2&r2=1.199.2.3)