Re: pg_shmem_allocations view
От | Robert Haas |
---|---|
Тема | Re: pg_shmem_allocations view |
Дата | |
Msg-id | CA+TgmoazzAB7XfOGurbTj+456jtEAbqMJ+bvDTwWe7EQeWw1LQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pg_shmem_allocations view (Andres Freund <andres@2ndquadrant.com>) |
Ответы |
Re: pg_shmem_allocations view
|
Список | 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 по дате отправления: