Re: Finding Current Page Size - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Finding Current Page Size
Date
Msg-id 20030619182801.GA15536@dcc.uchile.cl
Whole thread Raw
In response to Re: Finding Current Page Size  (Curt Sampson <cjs@cynic.net>)
Responses Re: Finding Current Page Size  (Curt Sampson <cjs@cynic.net>)
List 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)

pgsql-general by date:

Previous
From: Együd Csaba
Date:
Subject: SQL question
Next
From: Richard Huxton
Date:
Subject: Re: SQL question