On Mon, Mar 17, 2014 at 1:41 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>> After mulling over a few possible approaches, I came up with the
>> attached, which seems short and to the point.
>
> Looks reasonable in principle. I didn't run through all the existing
> PGSharedMemoryDetach calls to see if there are any other places to
> call dsm_detach_all, but it's an easy fix if there are any.
OK, committed.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company