Re: BUG #2521: pg_restore is hanging - Mailing list pgsql-bugs

From Michael Fuhr
Subject Re: BUG #2521: pg_restore is hanging
Date
Msg-id 20060710021811.GA84762@winnie.fuhr.org
Whole thread Raw
In response to BUG #2521: pg_restore is hanging  ("Simon, Attila" <iroda@continentalinvest.hu>)
List pgsql-bugs
On Sun, Jul 09, 2006 at 08:15:27AM +0000, Simon, Attila wrote:
> We have dumped a database with pg_dump and tried to restore it. Then the
> pg_restore program started to hanging, does not give any info even the
> verbose flag has been turned on. But the dmp file can be executed as an SQL
> script. Can you give me any info about?

What were the exact pg_dump and pg_restore commands you ran?  When
you say that pg_restore started hanging, do you mean that it displayed
some output and then hung, or that it never displayed anything?  Is
it possible that you ran pg_restore without any arguments and that
it's waiting to read from standard input (the terminal window)?  If
the dump file contains SQL statements then why are you using
pg_restore instead of psql?

--
Michael Fuhr

pgsql-bugs by date:

Previous
From: "Simon, Attila"
Date:
Subject: BUG #2521: pg_restore is hanging
Next
From: Dirk Lutzebäck
Date:
Subject: partial indexes not used on parameterized queries?