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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Klugy fix for bug #2447: we can't expand a whole-row reference to
Date
Msg-id 20060523170918.4CD219FA372@postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: nwakefield@pgfoundry.org (User Nwakefield)
Date:
Subject: bizgres - bizgres: Fixed: Bug found that caused XML to be double escaped
Next
From: nwakefield@pgfoundry.org (User Nwakefield)
Date:
Subject: bizgres - bizgres: Enhancement. Added the RegExExtractTransformation,