Re: Finding Current Page Size
Curt Sampson <cjs@cynic.net>
From: Curt Sampson <cjs@cynic.net>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-general@postgresql.org
Date: 2003-06-17T09:40:14Z
Lists: pgsql-general
On Mon, 16 Jun 2003, Bruce Momjian wrote:
> Curt Sampson wrote:
> >
> > How do I, in SQL, find out the page size used in the current database
> > cluster?
>
> Sure, but I am not sure how to determine this from SQL:
>
> $ pg_controldata
> ...
> Database block size: 8192
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.
cjs
--
Curt Sampson <cjs@cynic.net> +81 90 7737 2974 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC