mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
REINDEX under WAL.
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.103 2000/11/16 22:30:30 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.104 2000/12/08 06:17:58 inoue Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -866,6 +866,7 @@ ProcessUtility(Node *parsetree,
|
||||
relname = (char *) stmt->name;
|
||||
if (IsSystemRelationName(relname))
|
||||
{
|
||||
#ifdef OLD_FILE_NAMING
|
||||
if (!allowSystemTableMods && IsSystemRelationName(relname))
|
||||
elog(ERROR, "\"%s\" is a system table. call REINDEX under standalone postgres with -O -P options",
|
||||
relname);
|
||||
@ -873,6 +874,7 @@ ProcessUtility(Node *parsetree,
|
||||
elog(ERROR, "\"%s\" is a system table. call REINDEX under standalone postgres with -P -O options",
|
||||
|
||||
relname);
|
||||
#endif /* OLD_FILE_NAMING */
|
||||
}
|
||||
if (!pg_ownercheck(GetUserId(), relname, RELNAME))
|
||||
elog(ERROR, "%s: %s", relname, aclcheck_error_strings[ACLCHECK_NOT_OWNER]);
|
||||
|
Reference in New Issue
Block a user