summaryrefslogtreecommitdiff
path: root/src/backend/catalog/namespace.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2003-12-12 18:45:10 +0000
committerPeter Eisentraut <peter_e@gmx.net>2003-12-12 18:45:10 +0000
commit2afacfc403d439261b7a60c73e164423bc63bbc6 (patch)
tree5e49c4e5d15ad2041c31d38d3ff3e59d6b1e4e00 /src/backend/catalog/namespace.c
parent7ac2f11c14fb5617e5b358a41a7bb3ad91b92b65 (diff)
downloadpostgresql-2afacfc403d439261b7a60c73e164423bc63bbc6.tar.gz
This patch properly sets the prototype for the on_shmem_exit and
on_proc_exit functions, and adjust all other related code to use the proper types too. by Kurt Roeckx
Diffstat (limited to 'src/backend/catalog/namespace.c')
-rw-r--r--src/backend/catalog/namespace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/catalog/namespace.c b/src/backend/catalog/namespace.c
index 6fe6781f54..397a7517f9 100644
--- a/src/backend/catalog/namespace.c
+++ b/src/backend/catalog/namespace.c
@@ -13,7 +13,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/catalog/namespace.c,v 1.59 2003/11/29 19:51:45 pgsql Exp $
+ * $PostgreSQL: pgsql/src/backend/catalog/namespace.c,v 1.60 2003/12/12 18:45:08 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -130,7 +130,7 @@ char *namespace_search_path = NULL;
static void recomputeNamespacePath(void);
static void InitTempTableNamespace(void);
static void RemoveTempRelations(Oid tempNamespaceId);
-static void RemoveTempRelationsCallback(void);
+static void RemoveTempRelationsCallback(int code, Datum arg);
static void NamespaceCallback(Datum arg, Oid relid);
/* These don't really need to appear in any header file */
@@ -1735,7 +1735,7 @@ RemoveTempRelations(Oid tempNamespaceId)
* Callback to remove temp relations at backend exit.
*/
static void
-RemoveTempRelationsCallback(void)
+RemoveTempRelationsCallback(int code, Datum arg)
{
if (OidIsValid(myTempNamespace)) /* should always be true */
{