Skip to content

Commit 5437901

Browse files
author
Neil Conway
committed
Fix the build for when SHOW_MEMORY_STATS is defined. The reference to
the nonexistent ShowStats variable is simply removed, per Gavin Sherry.
1 parent 566480a commit 5437901

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/backend/tcop/postgres.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.518 2006/11/21 20:59:52 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.519 2006/12/08 02:15:07 neilc Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -2233,8 +2233,7 @@ finish_xact_command(void)
22332233

22342234
#ifdef SHOW_MEMORY_STATS
22352235
/* Print mem stats after each commit for leak tracking */
2236-
if (ShowStats)
2237-
MemoryContextStats(TopMemoryContext);
2236+
MemoryContextStats(TopMemoryContext);
22382237
#endif
22392238

22402239
xact_started = false;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy