From: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
---|---|
To: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Typo in comment in nbtree.h |
Date: | 2016-06-01 21:08:53 |
Message-ID: | CAEepm=3XRT9DhriEeX0ceiDckUAiiLj-RVkD_cN_g7bPGbCyEg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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's right link when we
scanned it */
/*
--
Thomas Munro
http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-06-01 21:21:17 | Re: Rename max_parallel_degree? |
Previous Message | Robert Haas | 2016-06-01 21:04:06 | Re: PostmasterPid not marked with PGDLLIMPORT |