mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Fix the build for when SHOW_MEMORY_STATS is defined. The reference to
the nonexistent ShowStats variable is simply removed, per Gavin Sherry.
This commit is contained in:
@ -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,7 +2233,6 @@ finish_xact_command(void)
|
||||
|
||||
#ifdef SHOW_MEMORY_STATS
|
||||
/* Print mem stats after each commit for leak tracking */
|
||||
if (ShowStats)
|
||||
MemoryContextStats(TopMemoryContext);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user