"Jesper Krogh" <jesper(at)krogh(dot)cc> writes:
> gzip does not seem to be the bottleneck, on restore is psql the nr. 1
> consumer on cpu-time.
Hm. We've seen some situations where readline mistakenly decides that
the input is interactive and wastes lots of cycles doing useless
processing (like keeping history). Try "psql -n" and see if that helps.
regards, tom lane