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: (view raw, whole thread or download thread mbox)
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 Kotala              Sun Microsystems
Prague, Czech Republic


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-2017 The PostgreSQL Global Development Group