fida aljounaidi <fida(dot)aljounaidi(at)gmail(dot)com> writes:
> I want to restore a large database (5GB) from a backup (dump postgresql)
> When the process arrive to the largest table, it stops with this output
> "pg_restore: [custom archiver] could not uncompress data: too many length or
> distance symbols"
Hm. Either you have a corrupt dump file, or you've found a bug in zlib.
I'd bet on the former myself.
regards, tom lane