OSDN Git Service

Dept. of second thoughts: rejigger the TRUNCATE ... CASCADE patch so that
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Mar 2006 18:25:14 +0000 (18:25 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Mar 2006 18:25:14 +0000 (18:25 +0000)
commit4e086f7cb516b57624eb4b135c2539b827fb191e
tree832a40e6e25459406735de347a05d064c8236434
parenta6add72ac377c2087fb37a44f960d94fbf18ca3d
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.
src/backend/commands/tablecmds.c