Skip site navigation (1) Skip section navigation (2)

pgsql: Fix ruleutils' get_variable() to print something useful for Vars

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix ruleutils' get_variable() to print something useful for Vars
Date: 2010-07-09 21:11:48
Message-ID: 20100709211148.D27F87541D5@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix ruleutils' get_variable() to print something useful for Vars referencing
resjunk outputs of subquery tlists, instead of throwing an error.  Per bug
#5548 from Daniel Grace.

We might at some point find we ought to back-patch this further than 9.0,
but I think that such Vars can only occur as resjunk members of upper-level
tlists, in which case the problem can't arise because prior versions didn't
print resjunk tlist items in EXPLAIN VERBOSE.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        ruleutils.c (r1.326 -> r1.327)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c?r1=1.326&r2=1.327)

pgsql-committers by date

Next:From: Tom LaneDate: 2010-07-09 21:11:57
Subject: pgsql: Fix ruleutils' get_variable() to print something useful for Vars
Previous:From: Simon RiggsDate: 2010-07-09 18:17:36
Subject: Re: [COMMITTERS] pgsql: Add a hook in ExecCheckRTPerms().

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group