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.0306201358420.421@angelic-vtfw.cvpn.cynic.net
Whole thread Raw
In response to Re: Finding Current Page Size  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-general
On Thu, 19 Jun 2003, Alvaro Herrera wrote:

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

Something closer to this, I'd think:

    Datum
    get_change_log_staff_id(PG_FUNCTION_ARGS)
    {
    PG_RETURN_INT32(change_log_staff_id);
    };

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: Jonathan Ellis
Date:
Subject: Tuning question: WAL disk a bottleneck?
Next
From: Együd Csaba
Date:
Subject: Getting one row for each subquery row...?