Commit c5ec4064 authored by Peter Eisentraut's avatar Peter Eisentraut

Message style fix

from Euler Taveira
parent 5be5b502
...@@ -874,7 +874,7 @@ DoCopy(const CopyStmt *stmt, const char *queryString, uint64 *processed) ...@@ -874,7 +874,7 @@ DoCopy(const CopyStmt *stmt, const char *queryString, uint64 *processed)
if (is_from) if (is_from)
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("COPY FROM not supported with row-level security."), errmsg("COPY FROM not supported with row-level security"),
errhint("Use INSERT statements instead."))); errhint("Use INSERT statements instead.")));
/* Build target list */ /* Build target list */
......
...@@ -2674,7 +2674,7 @@ COPY copy_t FROM STDIN; --fail - insufficient privilege to bypass rls. ...@@ -2674,7 +2674,7 @@ COPY copy_t FROM STDIN; --fail - insufficient privilege to bypass rls.
ERROR: insufficient privilege to bypass row-level security ERROR: insufficient privilege to bypass row-level security
SET row_security TO ON; SET row_security TO ON;
COPY copy_t FROM STDIN; --fail - COPY FROM not supported by RLS. COPY copy_t FROM STDIN; --fail - COPY FROM not supported by RLS.
ERROR: COPY FROM not supported with row-level security. ERROR: COPY FROM not supported with row-level security
HINT: Use INSERT statements instead. HINT: Use INSERT statements instead.
-- Check COPY FROM as user with permissions and BYPASSRLS -- Check COPY FROM as user with permissions and BYPASSRLS
SET SESSION AUTHORIZATION rls_regress_exempt_user; SET SESSION AUTHORIZATION rls_regress_exempt_user;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment