1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-08 22:02:03 +03:00

Fix FSM warning to mention increasing max_fsm_pages. Was incorrectly

max_fsm_relations.
This commit is contained in:
Bruce Momjian 2005-08-17 03:50:59 +00:00
parent 26b9dcb640
commit 28d0515d18

View File

@ -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.46 2005/07/04 04:51:48 tgl Exp $ * $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.47 2005/08/17 03:50:59 momjian Exp $
* *
* *
* NOTES: * NOTES:
@ -736,8 +736,8 @@ CheckFreeSpaceMapStatistics(int elevel, int numRels, double needed)
else if (needed > MaxFSMPages) else if (needed > MaxFSMPages)
ereport(elevel, ereport(elevel,
(errmsg("the number of page slots needed (%.0f) exceeds max_fsm_pages (%d)", (errmsg("the number of page slots needed (%.0f) exceeds max_fsm_pages (%d)",
needed,MaxFSMPages), needed, MaxFSMPages),
errhint("Consider increasing the configuration parameter \"max_fsm_relations\"\n" errhint("Consider increasing the configuration parameter \"max_fsm_pages\"\n"
"to a value over %.0f.", needed))); "to a value over %.0f.", needed)));
} }