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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix display of whole-row Var appearing at the top level of a
Date
Msg-id 20060126170834.BAB709DCA0E@postgresql.org
Whole thread Raw
List 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.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        ruleutils.c (r1.188.4.3 -> r1.188.4.4)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c.diff?r1=1.188.4.3&r2=1.188.4.4)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix display of whole-row Var appearing at the top level of a
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Suppress signed-vs-unsigned-char warning.