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

From Curt Sampson
Subject Re: Finding Current Page Size
Date
Msg-id Pine.NEB.4.51.0306171834330.408@angelic-vtfw.cvpn.cynic.net
Whole thread Raw
In response to Re: Finding Current Page Size  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Finding Current Page Size  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List 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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: A creepy story about dates. How to prevent it?
Next
From: "Russ Brown"
Date:
Subject: Difficulty with quotes