From 7117cd3a77afcf76b6488bd3e1d06f3160595027 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 8 Aug 2005 03:12:16 +0000 Subject: Cause ShutdownPostgres to do a normal transaction abort during backend exit, instead of trying to take shortcuts. Introduce some additional shutdown callback routines to eliminate kluges like having ProcKill be responsible for shutting down the buffer manager. Ensure that the order of operations during shutdown is predictable and what you would expect given the module layering. --- src/backend/tcop/postgres.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/backend/tcop/postgres.c') diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index ed5f0502420..5025ab8f56c 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.455 2005/07/21 03:56:11 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.456 2005/08/08 03:12:12 tgl Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -2953,13 +2953,6 @@ PostgresMain(int argc, char *argv[], const char *username) ALLOCSET_DEFAULT_INITSIZE, ALLOCSET_DEFAULT_MAXSIZE); - /* ---------- - * Tell the statistics collector that we're alive and - * to which database we belong. - * ---------- - */ - pgstat_bestart(); - /* * Remember stand-alone backend startup time */ -- cgit v1.2.3