Re: PageGetMaxOffsetNumber

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PageGetMaxOffsetNumber
Date: 2002-12-16 18:21:40
Message-ID: 20441.1040062900@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> writes:
> ppage = BufferGetPage(pbuf);
> pop = (BTPageOpaque) PageGetSpecialPointer(ppage);

> max = PageGetMaxOffsetNumber(pop);

I believe you want PageGetMaxOffsetNumber(ppage) ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-12-16 18:38:37 Re: Big 7.4 items
Previous Message Tom Lane 2002-12-16 18:13:26 Re: AsciiRow