From b4dbf3e924b2556acbe103dc61ac71f9985ff24f Mon Sep 17 00:00:00 2001 From: David Rowley Date: Tue, 18 Apr 2023 13:23:23 +1200 Subject: 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 --- src/backend/storage/buffer/bufmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/storage/buffer/bufmgr.c') diff --git a/src/backend/storage/buffer/bufmgr.c b/src/backend/storage/buffer/bufmgr.c index ee6244f9bc7..1fa689052e9 100644 --- a/src/backend/storage/buffer/bufmgr.c +++ b/src/backend/storage/buffer/bufmgr.c @@ -2046,7 +2046,7 @@ ExtendBufferedRelShared(ExtendBufferedWhat eb, io_start = pgstat_prepare_io_time(); /* - * Note: if smgzerorextend fails, we will end up with buffers that are + * Note: if smgrzeroextend fails, we will end up with buffers that are * allocated but not marked BM_VALID. The next relation extension will * still select the same block number (because the relation didn't get any * longer on disk) and so future attempts to extend the relation will find -- cgit v1.2.3