Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oT2Au-0008J0-PE for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Aug 2022 14:25:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oT2At-0003tS-DU for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Aug 2022 14:25:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oT2At-0003tB-50 for pgsql-bugs@lists.postgresql.org; Tue, 30 Aug 2022 14:25:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oT2Ar-0000K6-24 for pgsql-bugs@postgresql.org; Tue, 30 Aug 2022 14:25:06 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 27UEP2Hf3615004; Tue, 30 Aug 2022 10:25:03 -0400 From: Tom Lane To: Robins Tharakan cc: pgsql-bugs@postgresql.org Subject: Re: Segfault when using function and custom-type In-reply-to: References: Comments: In-reply-to Robins Tharakan message dated "Tue, 30 Aug 2022 23:21:47 +0930" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3615002.1661869502.1@sss.pgh.pa.us> Date: Tue, 30 Aug 2022 10:25:02 -0400 Message-ID: <3615003.1661869502@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robins Tharakan writes: > The following SQL causes a Segfault on multiple branches. It would help if you declared the storage parameters of the type (size, passbyvalue, etc) in a way consistent with the expectations of boolin and boolout. This is not a bug. regards, tom lane