Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZQFVV-0004E9-TH for pgsql-bugs@arkaria.postgresql.org; Fri, 14 Aug 2015 13:58:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZQFVV-0004uA-BJ for pgsql-bugs@arkaria.postgresql.org; Fri, 14 Aug 2015 13:58:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZQFUt-0004Ab-Fo for pgsql-bugs@postgresql.org; Fri, 14 Aug 2015 13:58:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZQFUq-0000IR-4M for pgsql-bugs@postgresql.org; Fri, 14 Aug 2015 13:58:14 +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 t7EDw864028663; Fri, 14 Aug 2015 09:58:08 -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: Fri, 14 Aug 2015 09:58:08 -0400 Message-ID: <28662.1439560688@sss.pgh.pa.us> X-Pg-Spam-Score: -2.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: > I did a quick debugging session on this and I believe that the cast_hash > logic in pl_exec.c is to blame. Hmm ... thought I'd fixed that in 0fc94a5ba, but apparently there's still a missed case. Will look, 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