diff --git a/src/backend/commands/lockcmds.c b/src/backend/commands/lockcmds.c index 43bba717f22..df681e32341 100644 --- a/src/backend/commands/lockcmds.c +++ b/src/backend/commands/lockcmds.c @@ -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))); /*