Re: pg_shmem_allocations view

Heikki Linnakangas <hlinnakangas@vmware.com>

From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Robert Haas <robertmhaas@gmail.com>, Simon Riggs <simon@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Andres Freund <andres@2ndquadrant.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2014-05-06T12:06:30Z
Lists: pgsql-hackers
On 05/06/2014 02:59 PM, Robert Haas wrote:
>> >Why would we call multiple segments the same thing??
> It's not clear to me how someone is going to intelligently name
> multiple segments used by the same extension.  Maybe they'll give them
> all the same name.  Maybe they'll name them all extension_name.pid.
> More than likely, different extensions will use different conventions.
>   :-(

That seems sensible to me. The best scheme will depend on how the 
segments are used. Best to leave it to the extension author.

- Heikki


Commits

  1. Add pg_shmem_allocations view.