File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.327 2010/02/26 02:00 :39 momjian Exp $
11
+ * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.328 2010/03/10 19:48 :39 rhaas Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -1956,10 +1956,7 @@ renameatt(Oid myrelid,
1956
1956
errmsg ("cannot rename column of typed table" )));
1957
1957
1958
1958
/*
1959
- * permissions checking. this would normally be done in utility.c, but
1960
- * this particular routine is recursive.
1961
- *
1962
- * normally, only the owner of a class can change its schema.
1959
+ * permissions checking. only the owner of a class can change its schema.
1963
1960
*/
1964
1961
if (!pg_class_ownercheck (myrelid , GetUserId ()))
1965
1962
aclcheck_error (ACLCHECK_NOT_OWNER , ACL_KIND_CLASS ,
You can’t perform that action at this time.
0 commit comments