Re: Finding Current Page Size

From: Curt Sampson <cjs(at)cynic(dot)net>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
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-20 04:59:11
Message-ID: Pine.NEB.4.51.0306201358420.421@angelic-vtfw.cvpn.cynic.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)cynic(dot)net> +81 90 7737 2974 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Együd Csaba 2003-06-20 05:05:15 Getting one row for each subquery row...?
Previous Message Együd Csaba 2003-06-20 04:43:55 Getting one row for each subquery row...?