mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user