diff options
Diffstat (limited to 'src/backend/postmaster/bgwriter.c')
| -rw-r--r-- | src/backend/postmaster/bgwriter.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/backend/postmaster/bgwriter.c b/src/backend/postmaster/bgwriter.c index 273588424e..10f57f00b8 100644 --- a/src/backend/postmaster/bgwriter.c +++ b/src/backend/postmaster/bgwriter.c @@ -37,7 +37,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/bgwriter.c,v 1.37 2007/03/30 18:34:55 mha Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/bgwriter.c,v 1.38 2007/05/27 03:50:39 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -126,13 +126,6 @@ typedef struct static BgWriterShmemStruct *BgWriterShmem; /* - * BgWriter statistics counters. - * Stored directly in a stats message structure so it can be sent - * without needing to copy things around. - */ -PgStat_MsgBgWriter BgWriterStats; - -/* * GUC parameters */ int BgWriterDelay = 200; @@ -251,11 +244,6 @@ BackgroundWriterMain(void) MemoryContextSwitchTo(bgwriter_context); /* - * Initialize statistics counters to zero - */ - memset(&BgWriterStats, 0, sizeof(BgWriterStats)); - - /* * If an exception is encountered, processing resumes here. * * See notes in postgres.c about the design of this coding. |
