Às 16:23 de 12-07-2016, Miguel Ramos escreveu:
>> It looks to me like this error is pg_restore itself running out of
>> memory,
>> not reporting a server-side OOM condition. You could verify that by
>> looking in the server log to see whether any out-of-memory error appeared
>> there. But assuming that I'm right, the other responses suggesting
>> tweaking server configurations are not on-point at all.
[...]
>>
>>> - PostgreSQL 9.1.8 custom compiled to get 32kB blocks
>>
>> 9.1.8 is pretty old ...
Of course, I could try a recent pg_restore.
That'll take me a bit of time too, but I can try.
--
Miguel Ramos