pgsql: Fix display of whole-row Var appearing at the top level of a

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix display of whole-row Var appearing at the top level of a
Дата
Msg-id 20060126170819.689CB9DCA00@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix display of whole-row Var appearing at the top level of a SELECT list.
While we normally prefer the notation "foo.*" for a whole-row Var, that does
not work at SELECT top level, because in that context the parser will assume
that what is wanted is to expand the "*" into a list of separate target
columns, yielding behavior different from a whole-row Var.  We have to emit
just "foo" instead in that context.  Per report from Sokolov Yura.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        ruleutils.c (r1.212 -> r1.213)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c.diff?r1=1.212&r2=1.213)

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

Предыдущее
От: h-saito@pgfoundry.org (User H-saito)
Дата:
Сообщение: psqlodbc - psqlodbc: Correspondence disable-unicode option.
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix display of whole-row Var appearing at the top level of a