aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-04-21 08:14:43 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-04-21 08:14:43 +0200
commit544b28088f9d41750ccf193812da62bdfe4bd98a (patch)
tree673e26f4392f53a9abb34f21b450600213588230 /src/backend/commands
parent3286065651477c2060910dfb42b3cedbd79a7980 (diff)
downloadpostgresql-544b28088f9d41750ccf193812da62bdfe4bd98a.tar.gz
postgresql-544b28088f9d41750ccf193812da62bdfe4bd98a.zip
doc: Improve hyphenation consistency
Diffstat (limited to 'src/backend/commands')
-rw-r--r--src/backend/commands/copyto.c2
-rw-r--r--src/backend/commands/functioncmds.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/copyto.c b/src/backend/commands/copyto.c
index 7257a54e935..67bac9ccab6 100644
--- a/src/backend/commands/copyto.c
+++ b/src/backend/commands/copyto.c
@@ -512,7 +512,7 @@ BeginCopyTo(ParseState *pstate,
CURSOR_OPT_PARALLEL_OK, NULL);
/*
- * With row level security and a user using "COPY relation TO", we
+ * With row-level security and a user using "COPY relation TO", we
* have to convert the "COPY relation TO" to a query-based COPY (eg:
* "COPY (SELECT * FROM relation) TO"), to allow the rewriter to add
* in any RLS clauses.
diff --git a/src/backend/commands/functioncmds.c b/src/backend/commands/functioncmds.c
index e7cb5c65e9a..95482872174 100644
--- a/src/backend/commands/functioncmds.c
+++ b/src/backend/commands/functioncmds.c
@@ -1129,7 +1129,7 @@ CreateFunction(ParseState *pstate, CreateFunctionStmt *stmt)
/*
* Only superuser is allowed to create leakproof functions because
* leakproof functions can see tuples which have not yet been filtered out
- * by security barrier views or row level security policies.
+ * by security barrier views or row-level security policies.
*/
if (isLeakProof && !superuser())
ereport(ERROR,