pgsql: Klugy fix for bug #2447: we can't expand a whole-row reference to

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Klugy fix for bug #2447: we can't expand a whole-row reference to
Date: 2006-05-23 17:09:18
Message-ID: 20060523170918.4CD219FA372@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message User Nwakefield 2006-05-23 17:11:13 bizgres - bizgres: Enhancement. Added the RegExExtractTransformation,
Previous Message User Nwakefield 2006-05-23 16:46:29 bizgres - bizgres: Fixed: Bug found that caused XML to be double escaped