diff options
author | Neil Conway <neilc@samurai.com> | 2006-12-08 02:15:07 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2006-12-08 02:15:07 +0000 |
commit | 543790104a74681f4f96c9b7f12e9de440927aa5 (patch) | |
tree | 9a409e4c4c0d7879bfc26e921307ad7dbc6447dd /src/backend/tcop/postgres.c | |
parent | 566480acbbd37a6a7cb35ae46135e864ac8871a7 (diff) | |
download | postgresql-543790104a74681f4f96c9b7f12e9de440927aa5.tar.gz postgresql-543790104a74681f4f96c9b7f12e9de440927aa5.zip |
Fix the build for when SHOW_MEMORY_STATS is defined. The reference to
the nonexistent ShowStats variable is simply removed, per Gavin Sherry.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 03a3eca6abd..f4b5d59d83e 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.518 2006/11/21 20:59:52 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.519 2006/12/08 02:15:07 neilc Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -2233,8 +2233,7 @@ finish_xact_command(void) #ifdef SHOW_MEMORY_STATS /* Print mem stats after each commit for leak tracking */ - if (ShowStats) - MemoryContextStats(TopMemoryContext); + MemoryContextStats(TopMemoryContext); #endif xact_started = false; |