mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
More message editing, some suggested by Alvaro Herrera
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/storage/freespace/freespace.c,v 1.22 2003/09/25 06:58:02 petere Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/storage/freespace/freespace.c,v 1.23 2003/09/29 00:05:25 petere Exp $
|
||||
*
|
||||
*
|
||||
* NOTES:
|
||||
@@ -704,7 +704,7 @@ PrintFreeSpaceMapStatistics(int elevel)
|
||||
ereport(elevel,
|
||||
(errmsg("free space map: %d relations, %d pages stored; %.0f total pages needed",
|
||||
numRels, storedPages, needed),
|
||||
errdetail("Allocated FSM size: %d relations + %d pages = %.0f kB shared mem.",
|
||||
errdetail("Allocated FSM size: %d relations + %d pages = %.0f kB shared memory.",
|
||||
MaxFSMRelations, MaxFSMPages,
|
||||
(double) FreeSpaceShmemSize() / 1024.0)));
|
||||
}
|
||||
|
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/storage/page/bufpage.c,v 1.55 2003/08/04 02:40:03 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/storage/page/bufpage.c,v 1.56 2003/09/29 00:05:25 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -489,7 +489,7 @@ PageIndexTupleDelete(Page page, OffsetNumber offnum)
|
||||
offset != MAXALIGN(offset) || size != MAXALIGN(size))
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_DATA_CORRUPTED),
|
||||
errmsg("corrupted item pointer: offset = %u size = %u",
|
||||
errmsg("corrupted item pointer: offset = %u, size = %u",
|
||||
offset, (unsigned int) size)));
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user