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

pgsql: get_names_for_var didn't do recursion for unnamed JOIN vars quite

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: get_names_for_var didn't do recursion for unnamed JOIN vars quite
Date: 2005-01-13 17:19:10
Message-ID: 20050113171910.D371A3A5925@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
get_names_for_var didn't do recursion for unnamed JOIN vars quite right;
got it wrong when the JOIN was in an outer query level.  Per example from
Laurie Burrow.  Also fix same issue in markTargetListOrigin.  I think the
latter is only a latent bug since we currently don't apply markTargetListOrigin
except at the outer level ... but should do it right anyway.

Modified Files:
--------------
    pgsql/src/backend/parser:
        parse_target.c (r1.128 -> r1.129)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_target.c.diff?r1=1.128&r2=1.129)
    pgsql/src/backend/utils/adt:
        ruleutils.c (r1.187 -> r1.188)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c.diff?r1=1.187&r2=1.188)

Responses

pgsql-committers by date

Next:From: Tom LaneDate: 2005-01-13 18:23:22
Subject: pgsql: Adjust src/tutorial Makefile so that it can use pgxs.
Previous:From: Kris JurkaDate: 2005-01-13 14:22:23
Subject: pgsql: Fix mapping infinite timestamp values to arbitrary dates.

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