aboutsummaryrefslogtreecommitdiff
path: root/src/common/pg_lzcompress.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-09-27 14:21:28 +0900
committerMichael Paquier <michael@paquier.xyz>2021-09-27 14:21:28 +0900
commite767ddcd354b51fc4c12d6b02e268861bd871fbc (patch)
tree1a0be8e35ff2bf23da6979377688d7e5eda3f9d4 /src/common/pg_lzcompress.c
parent895267a3266484440c0b2f42f613bcff28844cc1 (diff)
downloadpostgresql-e767ddcd354b51fc4c12d6b02e268861bd871fbc.tar.gz
postgresql-e767ddcd354b51fc4c12d6b02e268861bd871fbc.zip
Fix typos and grammar in code comments
Several mistakes have piled in the code comments over the time, including incorrect grammar, function names and simple typos. This commit takes care of a portion of these. No backpatch is done as this is only cosmetic. Author: Justin Pryzby Discussion: https://postgr.es/m/20210924215827.GS831@telsasoft.com
Diffstat (limited to 'src/common/pg_lzcompress.c')
-rw-r--r--src/common/pg_lzcompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/pg_lzcompress.c b/src/common/pg_lzcompress.c
index a30a2c2eb83..72e6a7ea61c 100644
--- a/src/common/pg_lzcompress.c
+++ b/src/common/pg_lzcompress.c
@@ -825,7 +825,7 @@ pglz_decompress(const char *source, int32 slen, char *dest,
/* ----------
- * pglz_max_compressed_size -
+ * pglz_maximum_compressed_size -
*
* Calculate the maximum compressed size for a given amount of raw data.
* Return the maximum size, or total compressed size if maximum size is