Adjust gratuitously different error message wording
This commit is contained in:
parent
78b0cac74d
commit
256fc004af
@ -99,7 +99,7 @@ RangeVarCallbackForLockTable(const RangeVar *rv, Oid relid, Oid oldrelid,
|
|||||||
relkind != RELKIND_VIEW)
|
relkind != RELKIND_VIEW)
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
||||||
errmsg("\"%s\" is not a table or a view",
|
errmsg("\"%s\" is not a table or view",
|
||||||
rv->relname)));
|
rv->relname)));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user