Re: POSIX shared memory support - Mailing list pgsql-hackers

From Tom Lane
Subject Re: POSIX shared memory support
Date
Msg-id 19364.1206993252@sss.pgh.pa.us
Whole thread Raw
In response to Re: POSIX shared memory support  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> Right, I had an idea about that but didn't really want to clutter the
> response to the general idea with it.  At least on Linux (I don't know
> if it's the case elsewhere..), creating a POSIX shm ends up creating an
> actual 'file' in /dev/shm/, which you might be able to count the
> hard-links to in order to get an idea of the number of processes using
> it?  It was just a thought that struck me, not sure if it's at all
> possible.

That's not gonna work on anything but Linux, AFAIK.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] ANALYZE getting dead tuple count hopelessly wrong
Next
From: Stephen Frost
Date:
Subject: Re: actualized SQL/PSM patch