> read(0, "", 4096) = 0
> read(0, "", 4096) = 0
> read(0, "", 4096) = 0
> read(0, "", 4096) = 0
> read(0, "", 4096) = 0
> read(0, "", 4096) = 0
> read(0, "", 4096) = 0
> read(0, "", 4096) = 0
>
fd 0 is usually stdin, unless the program disconnects stdin.
Maybe pg_restore is waiting for input, perhaps a password?
--
Jeff Trout <jeff(at)jefftrout(dot)com>
http://www.jefftrout.com/
http://www.stuarthamm.net/