Re: pg_shmem_allocations view - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: pg_shmem_allocations view
Date
Msg-id 5368D046.70301@vmware.com
Whole thread Raw
In response to Re: pg_shmem_allocations view  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: pg_shmem_allocations view  (Simon Riggs <simon@2ndQuadrant.com>)
List 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



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Removing xloginsert_slots?
Next
From: Heikki Linnakangas
Date:
Subject: Re: [PATCH] Fix use of free in walsender error handling after a sysid mismatch.