Re: pg_shmem_allocations view - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_shmem_allocations view
Date
Msg-id 24435.1399330457@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_shmem_allocations view  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: pg_shmem_allocations view
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, May 5, 2014 at 3:09 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> And the controlled shared segment is likely to be how big exactly?  It's
>> probably not even possible for it to be smaller than a page size, 4K or
>> so depending on the OS.  I agree with Andres that a name would be a good
>> idea; complaining about the space needed to hold it is penny-wise and
>> pound-foolish.
> ...
> Now, all that having been said, I recognize that human-readable names
> are a generally useful thing, so I'm not going to hold my breath until
> I turn blue if other people really want this, and it may turn out to
> be useful someday.  But if anyone is curious whether I'm *confident*
> that it will be useful someday: at this point, no.

I'm not confident that it'll be useful either.  But I am confident that
if we don't put it in now, and decide we want it later, there will be
complaints when we change the API.  Better to have an ignored parameter
than no parameter.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Recursive ReceiveSharedInvalidMessages not safe
Next
From: Thomas Munro
Date:
Subject: Re: Cluster name in ps output