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

pgsql: Fix problems with rewriter failing to set Query.hasSubLinks when

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix problems with rewriter failing to set Query.hasSubLinks when
Date: 2005-11-23 17:21:04
Message-ID: 20051123172104.9C0EEDADAE@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix problems with rewriter failing to set Query.hasSubLinks when inserting
a SubLink expression into a rule query.  Pre-8.1 we essentially did this
unconditionally; 8.1 tries to do it only when needed, but was missing a
couple of cases.  Per report from Kyle Bateman.  Add some regression test
cases covering this area.

Modified Files:
--------------
    pgsql/src/backend/rewrite:
        rewriteHandler.c (r1.159 -> r1.160)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/rewrite/rewriteHandler.c.diff?r1=1.159&r2=1.160)
        rewriteManip.c (r1.93 -> r1.94)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/rewrite/rewriteManip.c.diff?r1=1.93&r2=1.94)
    pgsql/src/test/regress/expected:
        subselect.out (r1.13 -> r1.14)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/subselect.out.diff?r1=1.13&r2=1.14)
    pgsql/src/test/regress/sql:
        subselect.sql (r1.8 -> r1.9)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/subselect.sql.diff?r1=1.8&r2=1.9)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-11-23 17:21:23
Subject: pgsql: Fix problems with rewriter failing to set Query.hasSubLinks when
Previous:From: Tatsuo IshiiDate: 2005-11-23 13:23:35
Subject: pgsql: Having blank lines in -f scripts was causing silent failures.

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