From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: POSIX shared memory support |
Date: | 2008-03-31 18:44:06 |
Message-ID: | 20080331184406.GI4999@tamriel.snowman.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
* Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> Yeah, I would be far more interested in this patch if it avoided needing
> SysV shmem at all. The problem is to find an adequate substitute for
> the nattch-based interlock against live children of a dead postmaster.
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.
Thanks,
Stephen
From | Date | Subject | |
---|---|---|---|
Next Message | James Mansion | 2008-03-31 19:14:47 | pgkill |
Previous Message | Stephen Frost | 2008-03-31 18:40:11 | Re: Patch for pg_dump (function dumps) |
From | Date | Subject | |
---|---|---|---|
Next Message | James Mansion | 2008-03-31 19:37:45 | Re: POSIX shared memory support |
Previous Message | Tom Lane | 2008-03-31 17:46:40 | Re: POSIX shared memory support |