aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/init/postinit.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/utils/init/postinit.c
parent7ac2f11c14fb5617e5b358a41a7bb3ad91b92b65 (diff)
downloadpostgresql-2afacfc403d439261b7a60c73e164423bc63bbc6.tar.gz
postgresql-2afacfc403d439261b7a60c73e164423bc63bbc6.zip
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/utils/init/postinit.c')
-rw-r--r--src/backend/utils/init/postinit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c
index 6233f0c9158..ba446310530 100644
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.130 2003/11/29 19:52:01 pgsql Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.131 2003/12/12 18:45:09 petere Exp $
*
*
*-------------------------------------------------------------------------
@@ -43,7 +43,7 @@
static void ReverifyMyDatabase(const char *name);
static void InitCommunication(void);
-static void ShutdownPostgres(void);
+static void ShutdownPostgres(int code, Datum arg);
static bool ThereIsAtLeastOneUser(void);
@@ -453,7 +453,7 @@ InitPostgres(const char *dbname, const char *username)
* cleanup fails.
*/
static void
-ShutdownPostgres(void)
+ShutdownPostgres(int code, Datum arg)
{
/*
* These operations are really just a minimal subset of