pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: 139250065@qq.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16616: Segmentation fault when use explain
Date: Tue, 15 Sep 2020 09:54:01 -0400
Message-ID: <1287699.1600178041@sss.pgh.pa.us> (raw)
In-Reply-To: <16616-a0b27501abf6e83a@postgresql.org>
References: <16616-a0b27501abf6e83a@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> I created a extension by C language, and deltatype is a new data type 
> ...
> explain select * from contract_index64s where delta_type <>
> 'new'::deltatype limit 1;
> server closed the connection unexpectedly

I'd say the first assumption is a bug in your extension.  Have
you tried watching this under a debugger, or examining the stack
trace from a crash?

			regards, tom lane





view thread (2+ messages)

Message-ID: <1287699.1600178041@sss.pgh.pa.us>
Permalink:  ../1287699.1600178041@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1287699.1600178041@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, 139250065@qq.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16616: Segmentation fault when use explain
  In-Reply-To: <1287699.1600178041@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