Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com> writes:
> On 11/23/2017 01:25 AM, Neto pr wrote:
>> Anyone have any tips on why this occurs?
> Attach gdb to the backend, run the query and when it fails get us the
> backtrace. So something like
More details on that here:
https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend
regards, tom lane