Adjust gratuitously different error message wording

This commit is contained in:
Peter Eisentraut 2019-02-11 14:01:05 +01:00
parent 78b0cac74d
commit 256fc004af

View File

@ -99,7 +99,7 @@ RangeVarCallbackForLockTable(const RangeVar *rv, Oid relid, Oid oldrelid,
relkind != RELKIND_VIEW)
ereport(ERROR,
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
errmsg("\"%s\" is not a table or a view",
errmsg("\"%s\" is not a table or view",
rv->relname)));
/*