Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZQduw-0007Du-3i for pgsql-bugs@arkaria.postgresql.org; Sat, 15 Aug 2015 16:02:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZQduv-0000GN-Ld for pgsql-bugs@arkaria.postgresql.org; Sat, 15 Aug 2015 16:02:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZQduK-0007xq-2T for pgsql-bugs@postgresql.org; Sat, 15 Aug 2015 16:02:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZQduG-00059X-Av for pgsql-bugs@postgresql.org; Sat, 15 Aug 2015 16:02:06 +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 t7FG1xKW015626; Sat, 15 Aug 2015 12:02:00 -0400 From: Tom Lane To: Oleksandr Shulgin cc: feikesteenbergen@gmail.com, pgsql-bugs@postgresql.org Subject: Re: BUG #13571: sql-only extension segfaults backend during creation In-reply-to: <87k2sy6mry.fsf@ashulgin01.corp.ad.zalando.net> References: <20150814125450.1670.49992@wrigleys.postgresql.org> <87k2sy6mry.fsf@ashulgin01.corp.ad.zalando.net> Comments: In-reply-to Oleksandr Shulgin message dated "Fri, 14 Aug 2015 15:08:01 +0200" Date: Sat, 15 Aug 2015 12:01:59 -0400 Message-ID: <15625.1439654519@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 Oleksandr Shulgin writes: > feikesteenbergen@gmail.com writes: >> When installing a sql-only extension, my backend crashes taking the cluster >> with it. > I did a quick debugging session on this and I believe that the cast_hash > logic in pl_exec.c is to blame. I've pushed a fix for that. Thanks for the report! 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