Re: pg_shmem_allocations view
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Marti Raudsepp <marti@juffo.org>, Tom Lane <tgl@sss.pgh.pa.us>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2014-08-18T17:12:37Z
Lists: 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
Commits
-
Add pg_shmem_allocations view.
- ed10f32e37e9 13.0 landed