Re: Finding Current Page Size

Alvaro Herrera <alvherre@dcc.uchile.cl>

From: Alvaro Herrera <alvherre@dcc.uchile.cl>
To: Curt Sampson <cjs@cynic.net>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, pgsql-general@postgresql.org
Date: 2003-06-19T18:28:01Z
Lists: pgsql-general
On Tue, Jun 17, 2003 at 06:40:14PM +0900, Curt Sampson wrote:

> Right. So, basically, write a C function to do it. I'll probably get
> around to doing that one day and contributing it, but it's not really
> all that high on my priority list right now.

#include <postgres_fe.h>
int GetPageSize() {
	return BLCKSZ;
}

Is that it?

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Sallah, I said NO camels! That's FIVE camels; can't you count?"
(Indiana Jones)