1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

pgstatindex: HASH -> hash

Fix the lone error message in the whole source tree to use capitalized
HASH when referring to hash indexes, making it look like all the other
messages.

Someday it would be good to standardize 'B-Tree', 'B-tree', 'btree', and
random other spellings, too, but that's a larger patch ...

Author: Álvaro Herrera
This commit is contained in:
Alvaro Herrera
2018-05-09 13:44:50 -03:00
parent 550091f218
commit c8478f4fd9
2 changed files with 3 additions and 3 deletions

View File

@ -601,7 +601,7 @@ pgstathashindex(PG_FUNCTION_ARGS)
if (!IS_HASH(rel))
ereport(ERROR,
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
errmsg("relation \"%s\" is not a HASH index",
errmsg("relation \"%s\" is not a hash index",
RelationGetRelationName(rel))));