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

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 (view raw or flat)
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

pgsql-bugs by date

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

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