Skip to content

Commit 3b0a5e5

Browse files
committed
Update VACUUM VERBOSE FSM message, per Tom.
1 parent 35f9b46 commit 3b0a5e5

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

src/backend/storage/freespace/freespace.c

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.43 2005/04/23 21:16:34 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.44 2005/04/24 03:51:49 momjian Exp $
1212
*
1313
*
1414
* NOTES:
@@ -709,14 +709,13 @@ PrintFreeSpaceMapStatistics(int elevel)
709709
needed = (sumRequests + numRels) * CHUNKPAGES;
710710

711711
ereport(elevel,
712-
(errmsg("free space map contains information about:\n"
713-
"%d relations, limit %d relations\n"
714-
"%d pages with free space, %.0f total pages used (including overhead)\n"
715-
"%.0f pages required to track all freespace, limit %d pages\n"
716-
"%.0f kB memory used",
717-
numRels, MaxFSMRelations,
718-
storedPages, Min(needed, MaxFSMPages),
719-
needed, MaxFSMPages,
712+
(errmsg("free space map contains %d pages in %d relations",
713+
storedPages, numRels),
714+
errdetail("A total of %.0f page slots are in use (including overhead).\n"
715+
"%.0f page slots are required to track all free space.\n"
716+
"Current limits are: %d page slots, %d relations, using %.0f KB.",
717+
Min(needed, MaxFSMPages),
718+
needed, MaxFSMPages, MaxFSMRelations,
720719
(double) FreeSpaceShmemSize() / 1024.0)));
721720

722721
CheckFreeSpaceMapStatistics(NOTICE, numRels, needed);

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