Log Message:
-----------
Klugy fix for bug #2447: we can't expand a whole-row reference to NEW
in a rule WHERE expression while inserting it into the original query,
because the 8.0 ResolveNew API is wrongly designed. This is fixed in 8.1
but I'm disinclined to risk back-porting the changes. Instead, just stop
the coredump and instead issue the same 'cannot handle whole-row reference'
message that 7.4 and before generated in this situation.
Tags:
----
REL8_0_STABLE
Modified Files:
--------------
pgsql/src/backend/rewrite:
rewriteHandler.c (r1.147 -> r1.147.4.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/rewrite/rewriteHandler.c.diff?r1=1.147&r2=1.147.4.1)
rewriteManip.c (r1.89.4.1 -> r1.89.4.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/rewrite/rewriteManip.c.diff?r1=1.89.4.1&r2=1.89.4.2)
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster