Skip site navigation (1) Skip section navigation (2)

pgsql: Fix AcquireRewriteLocks to be sure that it acquires the right

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix AcquireRewriteLocks to be sure that it acquires the right
Date: 2009-10-28 17:36:50
Message-ID: 20091028173650.6291F753FB7@cvs.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Tom LaneDate: 2009-10-28 18:09:44
Subject: pgsql: Fix \df to re-allow regexp special characters in the function
Previous:From: Tom LaneDate: 2009-10-28 14:55:47
Subject: pgsql: When FOR UPDATE/SHARE is used with LIMIT, put the LockRows plan

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group