@@ -1808,7 +1808,7 @@ ExecWithCheckOptions(WCOKind kind, ResultRelInfo *resultRelInfo,
1808
1808
1809
1809
ereport (ERROR ,
1810
1810
(errcode (ERRCODE_WITH_CHECK_OPTION_VIOLATION ),
1811
- errmsg ("new row violatesWITH CHECK OPTION for \"%s\"" ,
1811
+ errmsg ("new row violatescheck option for view \"%s\"" ,
1812
1812
wco -> relname ),
1813
1813
val_desc ?errdetail ("Failing row contains %s." ,
1814
1814
val_desc ) :0 ));
@@ -1818,24 +1818,24 @@ ExecWithCheckOptions(WCOKind kind, ResultRelInfo *resultRelInfo,
1818
1818
if (wco -> polname != NULL )
1819
1819
ereport (ERROR ,
1820
1820
(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
1821
- errmsg ("new row violates row level security policy \"%s\" for \"%s\"" ,
1821
+ errmsg ("new row violates row- level security policy \"%s\" for table \"%s\"" ,
1822
1822
wco -> polname ,wco -> relname )));
1823
1823
else
1824
1824
ereport (ERROR ,
1825
1825
(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
1826
- errmsg ("new row violates row level security policy for \"%s\"" ,
1826
+ errmsg ("new row violates row- level security policy for table \"%s\"" ,
1827
1827
wco -> relname )));
1828
1828
break ;
1829
1829
case WCO_RLS_CONFLICT_CHECK :
1830
1830
if (wco -> polname != NULL )
1831
1831
ereport (ERROR ,
1832
1832
(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
1833
- errmsg ("new row violates row level security policy \"%s\" (USING expression) for \"%s\"" ,
1833
+ errmsg ("new row violates row- level security policy \"%s\" (USING expression) for table \"%s\"" ,
1834
1834
wco -> polname ,wco -> relname )));
1835
1835
else
1836
1836
ereport (ERROR ,
1837
1837
(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
1838
- errmsg ("new row violates row level security policy (USING expression) for \"%s\"" ,
1838
+ errmsg ("new row violates row- level security policy (USING expression) for table \"%s\"" ,
1839
1839
wco -> relname )));
1840
1840
break ;
1841
1841
default :