| From: | tgl(at)postgresql(dot)org (Tom Lane) |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Fix display of whole-row Var appearing at the top level of a |
| Date: | 2006-01-26 17:08:26 |
| Message-ID: | 20060126170826.D1CAA9DCA18@postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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_1_STABLE
Modified Files:
--------------
pgsql/src/backend/utils/adt:
ruleutils.c (r1.207.2.4 -> r1.207.2.5)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c.diff?r1=1.207.2.4&r2=1.207.2.5)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-01-26 17:08:34 | pgsql: Fix display of whole-row Var appearing at the top level of a |
| Previous Message | Tom Lane | 2006-01-26 17:08:19 | pgsql: Fix display of whole-row Var appearing at the top level of a |