mirror of
https://github.com/postgres/postgres.git
synced 2025-11-16 15:02:33 +03:00
Message editing: remove gratuitous variations in message wording, standardize
terms, add some clarifications, fix some untranslatable attempts at dynamic message building.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.70 2003/08/10 19:48:08 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.71 2003/09/25 06:57:57 petere Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Postgres btree pages look like ordinary relation pages. The opaque
|
||||
@@ -153,7 +153,7 @@ _bt_getroot(Relation rel, int access)
|
||||
if (metad->btm_version != BTREE_VERSION)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INDEX_CORRUPTED),
|
||||
errmsg("version mismatch in \"%s\": file version %d, code version %d",
|
||||
errmsg("version mismatch in index \"%s\": file version %d, code version %d",
|
||||
RelationGetRelationName(rel),
|
||||
metad->btm_version, BTREE_VERSION)));
|
||||
|
||||
@@ -332,7 +332,7 @@ _bt_gettrueroot(Relation rel)
|
||||
if (metad->btm_version != BTREE_VERSION)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INDEX_CORRUPTED),
|
||||
errmsg("version mismatch in \"%s\": file version %d, code version %d",
|
||||
errmsg("version mismatch in index \"%s\": file version %d, code version %d",
|
||||
RelationGetRelationName(rel),
|
||||
metad->btm_version, BTREE_VERSION)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user