on_exit_reset fails to clear DSM-related exit actions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: on_exit_reset fails to clear DSM-related exit actions
Date: 2014-03-07 15:04:47
Message-ID: 14897.1394204687@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I just noticed that the DSM patch has introduced a whole new class of
failures related to the bug #9464 issue: to wit, any on_detach
actions registered in a parent process will also be performed when a
child process exits, because nothing has been added to on_exit_reset
to prevent that. It seems likely that this is undesirable.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-03-07 15:07:25 Re: atexit_callback can be a net negative
Previous Message Florian Weimer 2014-03-07 15:02:17 Re: atexit_callback can be a net negative