Re: pg_shmem_allocations view - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_shmem_allocations view
Date
Msg-id CA+TgmoazzAB7XfOGurbTj+456jtEAbqMJ+bvDTwWe7EQeWw1LQ@mail.gmail.com
Whole thread Raw
In response to Re: pg_shmem_allocations view  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: pg_shmem_allocations view
List pgsql-hackers
On Mon, Aug 18, 2014 at 12:51 PM, Andres Freund <andres@2ndquadrant.com> wrote:
> On 2014-08-18 12:50:27 -0400, Robert Haas wrote:
>> On Mon, Aug 18, 2014 at 12:46 PM, Andres Freund <andres@2ndquadrant.com> wrote:
>> > You realize that you can pretty much recompute the offsets from the
>> > sizes of the individual allocations anyway?
>>
>> Sure, if you know the segment base.  Do you?
>
> Err? The offset doesn't give you the base either?

Oh!

I thought you were printing actual pointer addresses.  If you're just
printing offsets relative to wherever the segment happens to be
mapped, I don't care about that.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [REVIEW] Re: Compression of full-page-writes
Next
From: Alvaro Herrera
Date:
Subject: Re: Reporting the commit LSN at commit time