pgsql: Fix AcquireRewriteLocks to be sure that it acquires the right - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix AcquireRewriteLocks to be sure that it acquires the right
Date
Msg-id 20091028173650.6291F753FB7@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix AcquireRewriteLocks to be sure that it acquires the right lock strength
when FOR UPDATE is propagated down into a sub-select expanded from a view.
Similar bug to parser's isLockedRel issue that I fixed yesterday; likewise
seems not quite worth the effort to back-patch.

Modified Files:
--------------
    pgsql/src/backend/rewrite:
        rewriteHandler.c (r1.190 -> r1.191)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/rewrite/rewriteHandler.c?r1=1.190&r2=1.191)
    pgsql/src/backend/utils/adt:
        ruleutils.c (r1.311 -> r1.312)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c?r1=1.311&r2=1.312)
    pgsql/src/include/rewrite:
        rewriteHandler.h (r1.31 -> r1.32)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/rewrite/rewriteHandler.h?r1=1.31&r2=1.32)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: When FOR UPDATE/SHARE is used with LIMIT, put the LockRows plan
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix \df to re-allow regexp special characters in the function