Re: on_exit_reset fails to clear DSM-related exit actions

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: on_exit_reset fails to clear DSM-related exit actions
Date: 2014-03-18 12:00:04
Message-ID: CA+TgmoY+S8UajTvsXiTYMoUQ614EPFqATCBY7h5-djQ01Kju8A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2014-03-18 12:23:54 Re: plpgsql.warn_shadow
Previous Message Robert Haas 2014-03-18 11:59:17 pgsql: Make it easy to detach completely from shared memory.