修改DROP ROW LEVEL SECURITY POLICY IF EXISTS的NOTICE提示信息

This commit is contained in:
骆洪斌
2020-09-14 18:21:14 +08:00
committed by Gitee
parent f370abbabd
commit 3d43c73d71

View File

@ -233,7 +233,7 @@ static void does_not_exist_skipping(ObjectType objtype, List* objname, List* obj
case OBJECT_RLSPOLICY:
msg = gettext_noop("row level security policy \"%s\" for relation \"%s\" does not exist");
name = pstrdup(strVal(llast(objname)));
args = strVal(linitial(objname));
args = NameListToString(list_truncate(list_copy(objname), list_length(objname) - 1));
break;
default:
pfree_ext(message->data);