|
10 | 10 | *
|
11 | 11 | *
|
12 | 12 | * IDENTIFICATION
|
13 |
| - * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.124 2002/01/03 23:21:32 tgl Exp $ |
| 13 | + * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.125 2002/02/07 00:27:30 inoue Exp $ |
14 | 14 | *
|
15 | 15 | *-------------------------------------------------------------------------
|
16 | 16 | */
|
@@ -885,15 +885,6 @@ ProcessUtility(Node *parsetree,
|
885 | 885 | break;
|
886 | 886 | caseTABLE:
|
887 | 887 | relname= (char*)stmt->name;
|
888 |
| -if (IsSystemRelationName(relname)) |
889 |
| -{ |
890 |
| -if (!allowSystemTableMods) |
891 |
| -elog(ERROR,"\"%s\" is a system table. call REINDEX under standalone postgres with -O -P options", |
892 |
| -relname); |
893 |
| -if (!IsIgnoringSystemIndexes()) |
894 |
| -elog(ERROR,"\"%s\" is a system table. call REINDEX under standalone postgres with -P -O options", |
895 |
| -relname); |
896 |
| -} |
897 | 888 | if (!pg_ownercheck(GetUserId(),relname,RELNAME))
|
898 | 889 | elog(ERROR,"%s: %s",relname,aclcheck_error_strings[ACLCHECK_NOT_OWNER]);
|
899 | 890 | ReindexTable(relname,stmt->force);
|
|