File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ ExecSecLabelStmt(SecLabelStmt *stmt)
62
62
if (label_provider_list == NIL )
63
63
ereport (ERROR ,
64
64
(errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
65
- errmsg ("security label providers have been loaded" )));
65
+ errmsg ("no security label providers have been loaded" )));
66
66
if (lnext (list_head (label_provider_list )) != NULL )
67
67
ereport (ERROR ,
68
68
(errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ RESET client_min_messages;
22
22
-- Test of SECURITY LABEL statement without a plugin
23
23
--
24
24
SECURITY LABEL ON TABLE seclabel_tbl1 IS 'classified'; -- fail
25
- ERROR: security label providers have been loaded
25
+ ERROR: no security label providers have been loaded
26
26
SECURITY LABEL FOR 'dummy' ON TABLE seclabel_tbl1 IS 'classified'; -- fail
27
27
ERROR: security label provider "dummy" is not loaded
28
28
SECURITY LABEL ON TABLE seclabel_tbl1 IS '...invalid label...'; -- fail
29
- ERROR: security label providers have been loaded
29
+ ERROR: no security label providers have been loaded
30
30
SECURITY LABEL ON TABLE seclabel_tbl3 IS 'unclassified'; -- fail
31
- ERROR: security label providers have been loaded
31
+ ERROR: no security label providers have been loaded
32
32
-- Load dummy external security provider
33
33
LOAD '@abs_builddir@/dummy_seclabel@DLSUFFIX@';
34
34
--
You can’t perform that action at this time.
0 commit comments