Typo in comment in nbtree.h - Mailing list pgsql-hackers

From Thomas Munro
Subject Typo in comment in nbtree.h
Date
Msg-id CAEepm=3XRT9DhriEeX0ceiDckUAiiLj-RVkD_cN_g7bPGbCyEg@mail.gmail.com
Whole thread Raw
Responses Re: Typo in comment in nbtree.h  (Kevin Grittner <kgrittn@gmail.com>)
List pgsql-hackers
Hi

Following along with a btree bug report, I saw a typo "referencd" in a
comment.  Also "we've" seems a bit odd here, but maybe it's just me.
Maybe it should be like this?

--- a/src/include/access/nbtree.h
+++ b/src/include/access/nbtree.h
@@ -522,7 +522,7 @@ typedef struct BTScanPosData       Buffer          buf;                    /* if valid, the
buffer is pinned */
       XLogRecPtr      lsn;                    /* pos in the WAL
stream when page was read */
-       BlockNumber currPage;           /* page we've referencd by
items array */
+       BlockNumber currPage;           /* page referenced by items array */       BlockNumber nextPage;           /*
page'sright link when we
 
scanned it */
       /*

-- 
Thomas Munro
http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: PostmasterPid not marked with PGDLLIMPORT
Next
From: Robert Haas
Date:
Subject: Re: Rename max_parallel_degree?