Re: Finding Current Page Size

Curt Sampson <cjs@cynic.net>

From: Curt Sampson <cjs@cynic.net>
To: Alvaro Herrera <alvherre@dcc.uchile.cl>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, pgsql-general@postgresql.org
Date: 2003-06-20T04:59:11Z
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@cynic.net>   +81 90 7737 2974   http://www.netbsd.org
    Don't you know, in this new Dark Age, we're all light.  --XTC