Skip to content

Commit 52e08c3

Browse files
committed
Make VACUUM VERBOSE FSM output all output in a single INFO output
statement.
1 parent e8ad6d9 commit 52e08c3

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

src/backend/storage/freespace/freespace.c

Lines changed: 8 additions & 14 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.40 2005/04/23 15:20:39 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.41 2005/04/23 20:56:01 momjian Exp $
1212
*
1313
*
1414
* NOTES:
@@ -709,20 +709,14 @@ PrintFreeSpaceMapStatistics(int elevel)
709709
needed = (sumRequests + numRels) * CHUNKPAGES;
710710

711711
ereport(elevel,
712-
(errmsg("free space map contains information about:")));
713-
714-
ereport(elevel,
715-
(errmsg("%d relations, limit %d relations",
716-
numRels, MaxFSMRelations)));
717-
718-
ereport(elevel,
719-
(errmsg("%d pages with free space, %.0f pages (with overhead)",
720-
storedPages, Min(needed, MaxFSMPages))));
721-
722-
ereport(elevel,
723-
(errmsg("%.0f pages required to track all freespace, limit %d pages (%.0f kB)",
712+
(errmsg("free space map contains information about:\n"
713+
"%d relations, limit %d relations\n"
714+
"%d pages with free space, %.0f pages (with overhead)\n"
715+
"%.0f pages required to track all freespace, limit %d pages (%.0f kB)",
716+
numRels, MaxFSMRelations,
717+
storedPages, Min(needed, MaxFSMPages),
724718
needed, MaxFSMPages,
725-
(double) FreeSpaceShmemSize() / 1024.0)));
719+
(double) FreeSpaceShmemSize() / 1024.0)));
726720

727721
CheckFreeSpaceMapStatistics(NOTICE, numRels, needed);
728722
/* Print to server logs too because is deals with a config variable. */

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