Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WLmgl-0006Y3-Ha for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Mar 2014 04:47:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WLmgl-0005rZ-0i for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Mar 2014 04:47:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WLmgk-0005rS-2o for pgsql-bugs@postgresql.org; Fri, 07 Mar 2014 04:47:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WLmgd-0001Fk-5x for pgsql-bugs@postgresql.org; Fri, 07 Mar 2014 04:47:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s274l52x001083; Thu, 6 Mar 2014 23:47:05 -0500 From: Tom Lane To: Peter LaDow cc: pgsql-bugs@postgresql.org Subject: Re: BUG #9464: PANIC with 'failed to re-find shared lock object' In-reply-to: References: <20140307005623.1918.22473@wrigleys.postgresql.org> <31620.1394163148@sss.pgh.pa.us> <339.1394165896@sss.pgh.pa.us> Comments: In-reply-to Peter LaDow message dated "Thu, 06 Mar 2014 20:37:43 -0800" Date: Thu, 06 Mar 2014 23:47:05 -0500 Message-ID: <1082.1394167625@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Peter LaDow writes: > On Thu, Mar 6, 2014 at 8:18 PM, Tom Lane wrote: >> Could you try patching atexit_callback as above, and verify that >> it does what you want (with or without the on_exit_reset() in your >> extension)? > That did it as well. Things are peachy (at least for this scenario). > Would you like me to submit a patch (with you as the author of course)? I think the right next step is to ask on pgsql-hackers if anyone can see a flaw in this approach. I'll go do that. Thanks for following up! regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs