summaryrefslogtreecommitdiff
path: root/src/backend/storage/smgr
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2023-04-18 13:23:23 +1200
committerDavid Rowley <drowley@postgresql.org>2023-04-18 13:23:23 +1200
commitb4dbf3e924b2556acbe103dc61ac71f9985ff24f (patch)
tree179232a4dbf525790273dfbdd3a4f58e30225d56 /src/backend/storage/smgr
parente39d512f3e9b1e34ffba77c8fe120c2675f6873b (diff)
downloadpostgresql-b4dbf3e924b2556acbe103dc61ac71f9985ff24f.tar.gz
Fix various typos
This fixes many spelling mistakes in comments, but a few references to invalid parameter names, function names and option names too in comments and also some in string constants Also, fix an #undef that was undefining the incorrect definition Author: Alexander Lakhin Reviewed-by: Justin Pryzby Discussion: https://postgr.es/m/d5f68d19-c0fc-91a9-118d-7c6a5a3f5fad@gmail.com
Diffstat (limited to 'src/backend/storage/smgr')
-rw-r--r--src/backend/storage/smgr/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/smgr/md.c b/src/backend/storage/smgr/md.c
index f1316eb4ce..e982a8dd7f 100644
--- a/src/backend/storage/smgr/md.c
+++ b/src/backend/storage/smgr/md.c
@@ -597,7 +597,7 @@ mdzeroextend(SMgrRelation reln, ForkNumber forknum,
/*
* Even if we don't want to use fallocate, we can still extend a
* bit more efficiently than writing each 8kB block individually.
- * pg_pwrite_zeroes() (via FileZero()) uses
+ * pg_pwrite_zeros() (via FileZero()) uses
* pg_pwritev_with_retry() to avoid multiple writes or needing a
* zeroed buffer for the whole length of the extension.
*/