pgsql: When displaying a Var that is a reference to a column of an

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: When displaying a Var that is a reference to a column of an
Date: 2004-10-27 18:09:48
Message-ID: 20041027180948.876F23A46E4@svr1.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
When displaying a Var that is a reference to a column of an unnamed join,
try to display it as a reference to the underlying column instead. This
is a legitimate substitution (it wouldn't be for a named join) and it
fixes some cases where the display would otherwise be ambiguous. Per
example from Sim Zacks.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
ruleutils.c (r1.183 -> r1.184)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c.diff?r1=1.183&r2=1.184)
pgsql/src/test/regress/expected:
rules.out (r1.94 -> r1.95)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/rules.out.diff?r1=1.94&r2=1.95)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-10-27 19:14:10 pgsql: Fix Cygwin compile for timezone.
Previous Message Bruce Momjian 2004-10-27 17:17:12 pgsql: Canonicalize Win32 path coming in from pg_ctl -D, idea from