Re: Finding Current Page Size

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Curt Sampson <cjs(at)cynic(dot)net>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: Finding Current Page Size
Date: 2003-06-19 18:28:01
Message-ID: 20030619182801.GA15536@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2003-06-19 18:37:40 Re: SQL question
Previous Message Tom Lane 2003-06-19 18:18:01 Re: Performance differences using varchar, char and text