mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Message style tweaks
This commit is contained in:
@ -1531,7 +1531,7 @@ transformIndexConstraint(Constraint *constraint, CreateStmtContext *cxt)
|
||||
if (index_rel->rd_rel->relam != get_am_oid(DEFAULT_INDEX_TYPE, false))
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
||||
errmsg("index \"%s\" is not a b-tree", index_name),
|
||||
errmsg("index \"%s\" is not a btree", index_name),
|
||||
parser_errposition(cxt->pstate, constraint->location)));
|
||||
|
||||
/* Must get indclass the hard way */
|
||||
|
Reference in New Issue
Block a user