Thread: pgsql: Dept.

pgsql: Dept.

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Dept. of second thoughts: rejigger the TRUNCATE ... CASCADE patch so that
relations are still checked for permissions etc as soon as they are
opened.  The original form of the patch could hold exclusive lock for a
long time on relations that the user doesn't even have permissions to
access, let alone truncate.

Modified Files:
--------------
    pgsql/src/backend/commands:
        tablecmds.c (r1.178 -> r1.179)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c.diff?r1=1.178&r2=1.179)