Re: BUG #16616: Segmentation fault when use explain

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: 139250065(at)qq(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16616: Segmentation fault when use explain
Date: 2020-09-15 13:54:01
Message-ID: 1287699.1600178041@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2020-09-16 00:26:39 Re: [BUG v13] Crash with event trigger in extension
Previous Message Magnus Hagander 2020-09-15 12:04:09 Re: BUG #16604: pg_dump with --jobs breaks SSL connections