bug in pageinspect contrib modul

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: pgsql-bugs(at)postgresql(dot)org
Subject: bug in pageinspect contrib modul
Date: 2008-10-23 09:38:50
Message-ID: 4900462A.6080001@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following code is in btreefuncs.c function GetBTPageStatistics:

stat->max_avail = BLCKSZ - (BLCKSZ - phdr->pd_special + SizeOfPageHeaderData);

I think it should be:

stat->max_avail = BLCKSZ - (phdr->pd_special + SizeOfPageHeaderData);

Zdenek

--
Zdenek Kotala Sun Microsystems
Prague, Czech Republic http://sun.com/postgresql

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2008-10-23 09:57:27 Re: bug in pageinspect contrib modul
Previous Message Nikolay Samokhvalov 2008-10-23 08:14:13 Re: BUG #4479: Incorrect TSearch2 results when inserting after deleting