@@ -1832,7 +1832,7 @@ ExecWithCheckOptions(WCOKind kind, ResultRelInfo *resultRelInfo,
18321832
18331833ereport (ERROR ,
18341834(errcode (ERRCODE_WITH_CHECK_OPTION_VIOLATION ),
1835- errmsg ("new row violatesWITH CHECK OPTION for \"%s\"" ,
1835+ errmsg ("new row violatescheck option for view \"%s\"" ,
18361836wco -> relname ),
18371837val_desc ?errdetail ("Failing row contains %s." ,
18381838val_desc ) :0 ));
@@ -1842,24 +1842,24 @@ ExecWithCheckOptions(WCOKind kind, ResultRelInfo *resultRelInfo,
18421842if (wco -> polname != NULL )
18431843ereport (ERROR ,
18441844(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
1845- errmsg ("new row violates row level security policy \"%s\" for \"%s\"" ,
1845+ errmsg ("new row violates row- level security policy \"%s\" for table \"%s\"" ,
18461846wco -> polname ,wco -> relname )));
18471847else
18481848ereport (ERROR ,
18491849(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
1850- errmsg ("new row violates row level security policy for \"%s\"" ,
1850+ errmsg ("new row violates row- level security policy for table \"%s\"" ,
18511851wco -> relname )));
18521852break ;
18531853case WCO_RLS_CONFLICT_CHECK :
18541854if (wco -> polname != NULL )
18551855ereport (ERROR ,
18561856(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
1857- errmsg ("new row violates row level security policy \"%s\" (USING expression) for \"%s\"" ,
1857+ errmsg ("new row violates row- level security policy \"%s\" (USING expression) for table \"%s\"" ,
18581858wco -> polname ,wco -> relname )));
18591859else
18601860ereport (ERROR ,
18611861(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
1862- errmsg ("new row violates row level security policy (USING expression) for \"%s\"" ,
1862+ errmsg ("new row violates row- level security policy (USING expression) for table \"%s\"" ,
18631863wco -> relname )));
18641864break ;
18651865default :