| From: | Kevin Grittner <kgrittn(at)gmail(dot)com> |
|---|---|
| To: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
| Cc: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Typo in comment in nbtree.h |
| Date: | 2016-06-02 17:55:27 |
| Message-ID: | CACjxUsPXrqZhrFY4f5thGY4y43-Z4O=S0B0Kqf9dUFZoECvRxw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Jun 1, 2016 at 4:08 PM, Thomas Munro
<thomas(dot)munro(at)enterprisedb(dot)com> wrote:
> 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 */
>
> /*
I agree. Pushed.
Thanks!
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2016-06-02 17:56:48 | Re: epoll_wait returning EFAULT on Linux 3.2.78 |
| Previous Message | Andres Freund | 2016-06-02 17:46:56 | Re: epoll_wait returning EFAULT on Linux 3.2.78 |