git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 17d8de0)
Fix incorrect comment about permissions checking being done in utility.c.
2010年3月10日 19:48:39 +0000 (19:48 +0000)
2010年3月10日 19:48:39 +0000 (19:48 +0000)
Noted while reviewing a patch from KaiGai Kohei.


diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index c2360e2d84e5952a81dd02d3edcf02923f22e2c1..79c5163e61b929a8cc49ad3366443b7c4480800b 100644 (file)
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.327 2010年02月26日 02:00:39 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.328 2010年03月10日 19:48:39 rhaas Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1956,10 +1956,7 @@ renameatt(Oid myrelid,
errmsg("cannot rename column of typed table")));
/*
- * permissions checking. this would normally be done in utility.c, but
- * this particular routine is recursive.
- *
- * normally, only the owner of a class can change its schema.
+ * permissions checking. only the owner of a class can change its schema.
*/
if (!pg_class_ownercheck(myrelid, GetUserId()))
aclcheck_error(ACLCHECK_NOT_OWNER, ACL_KIND_CLASS,
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /