pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robins Tharakan <tharakan@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Segfault when using function and custom-type
Date: Tue, 30 Aug 2022 10:25:02 -0400
Message-ID: <3615003.1661869502@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEP4nAwKtUUYNXB=UJEVN02trNYaLUBvo7w4E97pSLQRynRNsg@mail.gmail.com>
References: <CAEP4nAwKtUUYNXB=UJEVN02trNYaLUBvo7w4E97pSLQRynRNsg@mail.gmail.com>

Robins Tharakan <tharakan@gmail.com> 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





view thread (2+ messages)

Message-ID: <3615003.1661869502@sss.pgh.pa.us>
Permalink:  ../3615003.1661869502@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3615003.1661869502@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tharakan@gmail.com
  Subject: Re: Segfault when using function and custom-type
  In-Reply-To: <3615003.1661869502@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox