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

pgsql/src/backend/rewrite (rewriteDefine.c rewriteHandler.c rewriteManip.c)

From: tgl(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/rewrite (rewriteDefine.c rewriteHandler.c rewriteManip.c)
Date: 2000-12-05 19:15:10
Message-ID: 200012051915.eB5JFA308031@hub.org (view raw or flat)
Thread:
Lists: pgsql-committers
  Date: Tuesday, December  5, 2000 @ 14:15:10
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/rewrite
     from hub.org:/home/projects/pgsql/tmp/cvs-serv7977/src/backend/rewrite

Modified Files:
	rewriteDefine.c rewriteHandler.c rewriteManip.c 

-----------------------------  Log Message  -----------------------------

Repair breakage of rules containing INSERT ... SELECT actions, per bug
report from Joel Burton.  Turns out that my simple idea of turning the
SELECT into a subquery does not interact well *at all* with the way the
rule rewriter works.  Really what we need to make INSERT ... SELECT work
cleanly is to decouple targetlists from rangetables: an INSERT ... SELECT
wants to have two levels of targetlist but only one rangetable.  No time
for that for 7.1, however, so I've inserted some ugly hacks to make the
rewriter know explicitly about the structure of INSERT ... SELECT queries.
Ugh :-(

pgsql-committers by date

Next:From: tglDate: 2000-12-05 19:15:11
Subject: pgsql/src/backend/parser (analyze.c)
Previous:From: Tom LaneDate: 2000-12-04 19:58:26
Subject: Re: pgsql (GNUmakefile.in)

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