Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3579a94

Browse files
committed
Fix dumb typo in SECURITY LABEL error message.
Report by Peter Eisentraut.
1 parent0c6293d commit3579a94

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/backend/commands/seclabel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ExecSecLabelStmt(SecLabelStmt *stmt)
6262
if (label_provider_list==NIL)
6363
ereport(ERROR,
6464
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
65-
errmsg("security label providers have been loaded")));
65+
errmsg("nosecurity label providers have been loaded")));
6666
if (lnext(list_head(label_provider_list))!=NULL)
6767
ereport(ERROR,
6868
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),

‎src/test/regress/output/security_label.source

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ RESET client_min_messages;
2222
-- Test of SECURITY LABEL statement without a plugin
2323
--
2424
SECURITY LABEL ON TABLE seclabel_tbl1 IS 'classified';-- fail
25-
ERROR: security label providers have been loaded
25+
ERROR:nosecurity label providers have been loaded
2626
SECURITY LABEL FOR 'dummy' ON TABLE seclabel_tbl1 IS 'classified';-- fail
2727
ERROR: security label provider "dummy" is not loaded
2828
SECURITY LABEL ON TABLE seclabel_tbl1 IS '...invalid label...';-- fail
29-
ERROR: security label providers have been loaded
29+
ERROR:nosecurity label providers have been loaded
3030
SECURITY LABEL ON TABLE seclabel_tbl3 IS 'unclassified';-- fail
31-
ERROR: security label providers have been loaded
31+
ERROR:nosecurity label providers have been loaded
3232
-- Load dummy external security provider
3333
LOAD '@abs_builddir@/dummy_seclabel@DLSUFFIX@';
3434
--

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp