Mariel Cherkassky <mariel.cherkassky@xxxxxxxxx> writes: > I'm trying to insert a few values into a foreign table via sqllite_fdw and > my postgresql database crushes : > ... > any idea how can I investigate if the problem in the wrapper or in the > database ? Get a stack trace: https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend If the trace shows that the failure occurred in code of the wrapper, I'd definitely blame the wrapper. If sqllite_fdw is nowhere to be seen anywhere in the trace, then it's more debatable. regards, tom lane