aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/genfile.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2022-04-11 20:49:41 +1200
committerDavid Rowley <drowley@postgresql.org>2022-04-11 20:49:41 +1200
commitb0e5f02ddc836499bdcf093df52e4c342dda5891 (patch)
tree2211dfcfabd04e9ecd5b32b1b5fd3e97c817bc91 /src/backend/utils/adt/genfile.c
parentbba3c35b29d07a27bbf5dd0d7d5e7c7592e02f81 (diff)
downloadpostgresql-b0e5f02ddc836499bdcf093df52e4c342dda5891.tar.gz
postgresql-b0e5f02ddc836499bdcf093df52e4c342dda5891.zip
Fix various typos and spelling mistakes in code comments
Author: Justin Pryzby Discussion: https://postgr.es/m/20220411020336.GB26620@telsasoft.com
Diffstat (limited to 'src/backend/utils/adt/genfile.c')
-rw-r--r--src/backend/utils/adt/genfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/adt/genfile.c b/src/backend/utils/adt/genfile.c
index 88f279d1b31..2bf52192567 100644
--- a/src/backend/utils/adt/genfile.c
+++ b/src/backend/utils/adt/genfile.c
@@ -59,9 +59,9 @@ convert_and_check_filename(text *arg)
canonicalize_path(filename); /* filename can change length here */
/*
- * Roles with privleges of the 'pg_read_server_files' role are allowed to access
- * any files on the server as the PG user, so no need to do any further checks
- * here.
+ * Roles with privileges of the 'pg_read_server_files' role are allowed to
+ * access any files on the server as the PG user, so no need to do any
+ * further checks here.
*/
if (has_privs_of_role(GetUserId(), ROLE_PG_READ_SERVER_FILES))
return filename;