diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-31 06:26:32 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-31 06:26:32 +0000 |
commit | 31141025214e9508be5cb05b87cd63e563960925 (patch) | |
tree | a11afc3f520cb986892e759159d026afc7c4140c /src/backend/tcop/utility.c | |
parent | 5f4745adf4fb2a1f933b25d7a2bc72b39fa9edfd (diff) |
Reimplement temp tables using schemas. The temp table map is history;
temp table entries in pg_class have the names the user would expect.
Diffstat (limited to 'src/backend/tcop/utility.c')
-rw-r--r-- | src/backend/tcop/utility.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 40795016ab9..49d3c129f3d 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.142 2002/03/29 22:10:33 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.143 2002/03/31 06:26:31 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -49,7 +49,6 @@ #include "utils/acl.h" #include "utils/lsyscache.h" #include "utils/syscache.h" -#include "utils/temprel.h" #include "access/xlog.h" /* @@ -128,8 +127,7 @@ CheckDropPermissions(RangeVar *rel, char rightkind) elog(ERROR, "you do not own %s \"%s\"", rentry->name, rel->relname); - if (!allowSystemTableMods && IsSystemRelationName(rel->relname) && - !is_temp_relname(rel->relname)) + if (!allowSystemTableMods && IsSystemRelationName(rel->relname)) elog(ERROR, "%s \"%s\" is a system %s", rentry->name, rel->relname, rentry->name); |