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

Commitc5ec406

Browse files
committed
Message style fix
from Euler Taveira
1 parent5be5b50 commitc5ec406

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
@@ -874,7 +874,7 @@ DoCopy(const CopyStmt *stmt, const char *queryString, uint64 *processed)
874874
if (is_from)
875875
ereport(ERROR,
876876
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
877-
errmsg("COPY FROM not supported with row-level security."),
877+
errmsg("COPY FROM not supported with row-level security"),
878878
errhint("Use INSERT statements instead.")));
879879

880880
/* 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)

[8]ページ先頭

©2009-2025 Movatter.jp