summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane2002-09-23 20:43:41 +0000
committerTom Lane2002-09-23 20:43:41 +0000
commit5fa3418304b06967fa54052b183bf96e1193d85e (patch)
tree46db71d9ad35150dcd5c53cb9cfe4d6db590a12e /src/include
parentc99f82005320baffd5d0a976f247090a94873986 (diff)
Disallow VACUUM, ANALYZE, TRUNCATE on temp tables belonging to other
backends. Given that temp tables now store data locally in the local buffer manager, these things are not going to work safely.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/catalog/namespace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/catalog/namespace.h b/src/include/catalog/namespace.h
index 3369f678095..531afac1453 100644
--- a/src/include/catalog/namespace.h
+++ b/src/include/catalog/namespace.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: namespace.h,v 1.20 2002/09/04 20:31:37 momjian Exp $
+ * $Id: namespace.h,v 1.21 2002/09/23 20:43:41 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -76,6 +76,7 @@ extern RangeVar *makeRangeVarFromNameList(List *names);
extern char *NameListToString(List *names);
extern bool isTempNamespace(Oid namespaceId);
+extern bool isOtherTempNamespace(Oid namespaceId);
extern void PushSpecialNamespace(Oid namespaceId);
extern void PopSpecialNamespace(Oid namespaceId);