Commit 3b0a5e50 authored by Bruce Momjian's avatar Bruce Momjian

Update VACUUM VERBOSE FSM message, per Tom.

parent 35f9b461
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.43 2005/04/23 21:16:34 momjian Exp $ * $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.44 2005/04/24 03:51:49 momjian Exp $
* *
* *
* NOTES: * NOTES:
...@@ -709,14 +709,13 @@ PrintFreeSpaceMapStatistics(int elevel) ...@@ -709,14 +709,13 @@ PrintFreeSpaceMapStatistics(int elevel)
needed = (sumRequests + numRels) * CHUNKPAGES; needed = (sumRequests + numRels) * CHUNKPAGES;
ereport(elevel, ereport(elevel,
(errmsg("free space map contains information about:\n" (errmsg("free space map contains %d pages in %d relations",
"%d relations, limit %d relations\n" storedPages, numRels),
"%d pages with free space, %.0f total pages used (including overhead)\n" errdetail("A total of %.0f page slots are in use (including overhead).\n"
"%.0f pages required to track all freespace, limit %d pages\n" "%.0f page slots are required to track all free space.\n"
"%.0f kB memory used", "Current limits are: %d page slots, %d relations, using %.0f KB.",
numRels, MaxFSMRelations, Min(needed, MaxFSMPages),
storedPages, Min(needed, MaxFSMPages), needed, MaxFSMPages, MaxFSMRelations,
needed, MaxFSMPages,
(double) FreeSpaceShmemSize() / 1024.0))); (double) FreeSpaceShmemSize() / 1024.0)));
CheckFreeSpaceMapStatistics(NOTICE, numRels, needed); CheckFreeSpaceMapStatistics(NOTICE, numRels, needed);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment