Re: segfault due to invalid cached plan

2018-03-28 Thread Nicolas Thauvin
On Wed, 28 Mar 2018 16:14:04 +0200 Tomas Vondra wrote: > On 03/28/2018 03:54 PM, Nicolas Thauvin wrote: > > Hello, > > > > A customer sent us a core dump of the crash of the background > > worker of the powa extension, running on 9.6.8 along side with > > cstore_fdw. > > > > The background work

Re: segfault due to invalid cached plan

2018-03-28 Thread Tom Lane
Nicolas Thauvin writes: > A customer sent us a core dump of the crash of the background worker of > the powa extension, running on 9.6.8 along side with cstore_fdw. > The background worker loops on a plpgsql function, which then execute > another plpgsql function that issues the query "TRUNCATE >

Re: segfault due to invalid cached plan

2018-03-28 Thread Tomas Vondra
On 03/28/2018 03:54 PM, Nicolas Thauvin wrote: > Hello, > > A customer sent us a core dump of the crash of the background worker of > the powa extension, running on 9.6.8 along side with cstore_fdw. > > The background worker loops on a plpgsql function, which then execute > another plpgsql functi

segfault due to invalid cached plan

2018-03-28 Thread Nicolas Thauvin
Hello, A customer sent us a core dump of the crash of the background worker of the powa extension, running on 9.6.8 along side with cstore_fdw. The background worker loops on a plpgsql function, which then execute another plpgsql function that issues the query "TRUNCATE powa_statements_history_cu