|
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.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 $ |
12 | 12 | * |
13 | 13 | * |
14 | 14 | * NOTES: |
@@ -709,14 +709,13 @@ PrintFreeSpaceMapStatistics(int elevel) |
709 | 709 | needed= (sumRequests+numRels)*CHUNKPAGES; |
710 | 710 |
|
711 | 711 | 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, |
720 | 719 | (double)FreeSpaceShmemSize() /1024.0))); |
721 | 720 |
|
722 | 721 | CheckFreeSpaceMapStatistics(NOTICE,numRels,needed); |
|