aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-08-08 03:12:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-08-08 03:12:16 +0000
commit7117cd3a77afcf76b6488bd3e1d06f3160595027 (patch)
tree0d2feadbd044021b3cc8b5a89a68a6e720bb0afb /src/backend/tcop/postgres.c
parent89439b8c4fabf8e882f55c87979512af081f370b (diff)
downloadpostgresql-7117cd3a77afcf76b6488bd3e1d06f3160595027.tar.gz
postgresql-7117cd3a77afcf76b6488bd3e1d06f3160595027.zip
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c9
1 files changed, 1 insertions, 8 deletions
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
*/