1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-20 05:03:10 +03:00

Remove pg_magic, defaults, server, hosts, and demon tables. unused.

This commit is contained in:
Bruce Momjian
1997-11-15 20:58:05 +00:00
parent 0dec3a8d37
commit 1c32d285a6
15 changed files with 27 additions and 386 deletions

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.66 1997/11/14 06:09:07 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.67 1997/11/15 20:57:09 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@ -3366,10 +3366,9 @@ relation_name: SpecialRuleRelation
}
| ColId
{
/* disallow refs to magic system tables */
/* disallow refs to variable system tables */
if (strcmp(LogRelationName, $1) == 0
|| strcmp(VariableRelationName, $1) == 0
|| strcmp(MagicRelationName, $1) == 0)
|| strcmp(VariableRelationName, $1) == 0)
elog(WARN,"%s cannot be accessed by users",$1);
else
$$ = $1;