Skip site navigation (1) Skip section navigation (2)

Re: Incorrect comment in heapam.c

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Incorrect comment in heapam.c
Date: 2011-12-20 17:53:38
Message-ID: CA+U5nM+xabfzUTXUHp7qJDo=2oHXfL7b_eFnxOArzr-UVX4heA@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-bugs
On Tue, Dec 20, 2011 at 5:50 PM, Peter Geoghegan <peter(at)2ndquadrant(dot)com> wrote:
> Line 834 of heapam.c has the following comment:
>
> /*
>  * This is formatted so oddly so that the correspondence to the macro
>  * definition in access/heapam.h is maintained.
>  */
>
> In fact, that macro is defined in access/htup.h...should it be?

IMHO comment is wrong, code is in the right place.

-- 
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2011-12-20 18:11:36
Subject: Re: Incorrect comment in heapam.c
Previous:From: Peter GeogheganDate: 2011-12-20 17:50:37
Subject: Incorrect comment in heapam.c

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group