Skip to content

Commit a408bd5

Browse files
committed
Message style fix
from Euler Taveira
1 parent b6a6340 commit a408bd5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/commands/copy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ DoCopy(const CopyStmt *stmt, const char *queryString, uint64 *processed)
877877
if (is_from)
878878
ereport(ERROR,
879879
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
880-
errmsg("COPY FROM not supported with row-level security."),
880+
errmsg("COPY FROM not supported with row-level security"),
881881
errhint("Use INSERT statements instead.")));
882882

883883
/* Build target list */

src/test/regress/expected/rowsecurity.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2674,7 +2674,7 @@ COPY copy_t FROM STDIN; --fail - insufficient privilege to bypass rls.
26742674
ERROR: insufficient privilege to bypass row-level security
26752675
SET row_security TO ON;
26762676
COPY copy_t FROM STDIN; --fail - COPY FROM not supported by RLS.
2677-
ERROR: COPY FROM not supported with row-level security.
2677+
ERROR: COPY FROM not supported with row-level security
26782678
HINT: Use INSERT statements instead.
26792679
-- Check COPY FROM as user with permissions and BYPASSRLS
26802680
SET SESSION AUTHORIZATION rls_regress_exempt_user;

0 commit comments

Comments
 (0)