diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-03-17 22:53:31 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-03-17 22:53:31 +0000 |
commit | 58118db39dba592fad26d781b686f0d56c1ba649 (patch) | |
tree | a59a5900f1f1385c1b2cd9d49bffe8ced1b69a29 /src/backend/commands/command.c | |
parent | 62a7754e1ae2d817f87594eeae549a82097d8693 (diff) | |
download | postgresql-58118db39dba592fad26d781b686f0d56c1ba649.tar.gz postgresql-58118db39dba592fad26d781b686f0d56c1ba649.zip |
Add new postgres -O option to allow system table structure changes.
Diffstat (limited to 'src/backend/commands/command.c')
-rw-r--r-- | src/backend/commands/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c index ca5cbeff9e5..4a391cd5490 100644 --- a/src/backend/commands/command.c +++ b/src/backend/commands/command.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.39 1999/02/24 17:28:57 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.40 1999/03/17 22:52:51 momjian Exp $ * * NOTES * The PortalExecutorHeapMemory crap needs to be eliminated @@ -308,7 +308,7 @@ PerformAddAttribute(char *relationName, * * normally, only the owner of a class can change its schema. */ - if (IsSystemRelationName(relationName)) + if (!allowSystemTableMods && IsSystemRelationName(relationName)) elog(ERROR, "PerformAddAttribute: class \"%s\" is a system catalog", relationName); #ifndef NO_SECURITY |