diff options
author | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-02-07 00:27:30 +0000 |
---|---|---|
committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-02-07 00:27:30 +0000 |
commit | e206ff59467458cd5a9af593c45565641f218a09 (patch) | |
tree | 1793516f7052bd928cfe03135075a6929d15be73 | |
parent | e55b1f984edab45041cfd83dc7a1e6684e0f927f (diff) | |
download | postgresql-e206ff59467458cd5a9af593c45565641f218a09.tar.gz postgresql-e206ff59467458cd5a9af593c45565641f218a09.zip |
Removed a check for REINDEX TABLE.
-rw-r--r-- | src/backend/tcop/utility.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index f8cf6310a5f..766512ae59c 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.124 2002/01/03 23:21:32 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.125 2002/02/07 00:27:30 inoue Exp $ * *------------------------------------------------------------------------- */ @@ -885,15 +885,6 @@ ProcessUtility(Node *parsetree, break; case TABLE: relname = (char *) stmt->name; - if (IsSystemRelationName(relname)) - { - if (!allowSystemTableMods) - elog(ERROR, "\"%s\" is a system table. call REINDEX under standalone postgres with -O -P options", - relname); - if (!IsIgnoringSystemIndexes()) - elog(ERROR, "\"%s\" is a system table. call REINDEX under standalone postgres with -P -O options", - relname); - } if (!pg_ownercheck(GetUserId(), relname, RELNAME)) elog(ERROR, "%s: %s", relname, aclcheck_error_strings[ACLCHECK_NOT_OWNER]); ReindexTable(relname, stmt->force); |