postgresql/src/include/rewrite
Tom Lane a51f004d29 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 :-(
2000-12-05 19:15:10 +00:00
..
prs2lock.h Add: 2000-01-26 05:58:53 +00:00
rewriteDefine.h Add: 2000-01-26 05:58:53 +00:00
rewriteHandler.h First cut at full support for OUTER JOINs. There are still a few loose 2000-09-12 21:07:18 +00:00
rewriteManip.h Repair breakage of rules containing INSERT ... SELECT actions, per bug 2000-12-05 19:15:10 +00:00
rewriteRemove.h Add: 2000-01-26 05:58:53 +00:00
rewriteSupport.h Change SearchSysCache coding conventions so that a reference count is 2000-11-16 22:30:52 +00:00