Re: pg_shmem_allocations view

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Marti Raudsepp <marti(at)juffo(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_shmem_allocations view
Date: 2014-08-18 17:12:37
Message-ID: CA+TgmoazzAB7XfOGurbTj+456jtEAbqMJ+bvDTwWe7EQeWw1LQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 18, 2014 at 12:51 PM, Andres Freund <andres(at)2ndquadrant(dot)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(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2014-08-18 17:20:44 Re: Reporting the commit LSN at commit time
Previous Message Robert Haas 2014-08-18 17:10:49 Re: [REVIEW] Re: Compression of full-page-writes