Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit70aedc0

Browse files
committed
Fix incorrect comment about permissions checking being done in utility.c.
Noted while reviewing a patch from KaiGai Kohei.
1 parent17d8de0 commit70aedc0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎src/backend/commands/tablecmds.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.327 2010/02/26 02:00:39momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/commands/tablecmds.c,v 1.328 2010/03/10 19:48:39rhaas Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1956,10 +1956,7 @@ renameatt(Oid myrelid,
19561956
errmsg("cannot rename column of typed table")));
19571957

19581958
/*
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.
19631960
*/
19641961
if (!pg_class_ownercheck(myrelid,GetUserId()))
19651962
aclcheck_error(ACLCHECK_NOT_OWNER,ACL_KIND_CLASS,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp