|
8 | 8 | * Portions Copyright (c) 1994, Regents of the University of California
|
9 | 9 | *
|
10 | 10 | * 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 $ |
12 | 12 | *
|
13 | 13 | *
|
14 | 14 | * NOTES:
|
@@ -709,20 +709,14 @@ PrintFreeSpaceMapStatistics(int elevel)
|
709 | 709 | needed = (sumRequests + numRels) * CHUNKPAGES;
|
710 | 710 |
|
711 | 711 | 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), |
724 | 718 | needed, MaxFSMPages,
|
725 |
| - (double) FreeSpaceShmemSize() / 1024.0))); |
| 719 | + (double) FreeSpaceShmemSize() / 1024.0))); |
726 | 720 |
|
727 | 721 | CheckFreeSpaceMapStatistics(NOTICE, numRels, needed);
|
728 | 722 | /* Print to server logs too because is deals with a config variable. */
|
|
0 commit comments