Nicolas Thauvin <nicolas.thauvin@dalibo.com> 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
> powa_statements_history_current".
I think the odds are very high that this is a cstore_fdw bug. The
core backend simply doesn't do anything very interesting with TRUNCATE.
regards, tom lane