From 2afacfc403d439261b7a60c73e164423bc63bbc6 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 12 Dec 2003 18:45:10 +0000 Subject: 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 --- src/backend/utils/init/postinit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/utils/init/postinit.c') 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 -- cgit v1.2.3