Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5437901

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 parent566480a commit5437901

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
#ifdefSHOW_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)

[8]ページ先頭

©2009-2025 Movatter.jp