Vincent Lachenal <vincent(dot)lachenal(at)gmail(dot)com> writes:
> Sorry. I didn't find the way to create an attachment in the interface.
> You can find the database dump as attachment.
Thanks for sending the data! However, the given query doesn't crash for
me, so there must be something non-default about your parameter settings.
Could you send the result of
select name,setting,source from pg_settings where source != 'default';
regards, tom lane