Skip to content

Commit c5ec406

Browse files
committed
Message style fix
from Euler Taveira
1 parent 5be5b50 commit c5ec406

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy