Re: Display Pg buffer cache (WIP) - Mailing list pgsql-patches

From Mark Kirkwood
Subject Re: Display Pg buffer cache (WIP)
Date
Msg-id 422D6151.4040103@coretech.co.nz
Whole thread Raw
In response to Re: Display Pg buffer cache (WIP)  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway wrote:
> Mark Kirkwood wrote:

>> +         TupleDescInitEntry(tupledesc, (AttrNumber) 5, "relblockbumber",
>> +                                     NUMERICOID, -1, 0);
>
> I think this should be an int4, not numeric.

I was looking for an UINT4OID :-), but numeric seemed the best
compromise (safer than overflowing int4). I guess I could add a type
'blocknumber' that is actually the same as 'oid', but it seems liks a
lot of effort for one column.

cheers

Mark


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Continue transactions after errors in psql
Next
From: Mark Kirkwood
Date:
Subject: Re: Display Pg buffer cache (WIP)