pgsql-server/src/backend/rewrite Tag: REL7_3_S ...

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend/rewrite Tag: REL7_3_S ...
Date: 2003-10-20 20:02:30
Message-ID: 20031020200230.272BDD1B551@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)svr1(dot)postgresql(dot)org 03/10/20 17:02:30

Modified files:
src/backend/rewrite: Tag: REL7_3_STABLE rewriteManip.c

Log message:
It is possible for ResolveNew to be used to insert a sublink into a
subquery that didn't previously have one. We have traditionally made
the caller of ResolveNew responsible for updating the hasSubLinks flag
of the outermost query, but this fails to account for hasSubLinks in
subqueries. Fix ResolveNew to handle this. We might later want to
change the calling convention of ResolveNew so that it can fix the
outer query too, simplifying callers. But I went with the localized
fix for now. Per bug report from J Smith, 20-Oct-03.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2003-10-20 21:05:14 pgsql-server/src/bin/pg_dump pg_backup_archive ...
Previous Message Tom Lane 2003-10-20 20:01:59 pgsql-server/src/backend/rewrite rewriteManip.c