Thread: Bug #887: pg_restore blocks

Bug #887: pg_restore blocks

From
pgsql-bugs@postgresql.org
Date:
Emmanuel Guyot (emmguyot@wanadoo.fr) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
pg_restore blocks

Long Description
I launch pg_restore from my Java programs with the following command :
bash --login -c \"/usr/bin/pg_restore.exe -v -c -F c -d mybase myfile 2> Resto.err > Resto.txt

With PostgreSQL 7.1.3, this sometimes blocks after the tables have been deleted.
With PostgreSQL 7.2.x & 7.3.1, it blocks each time except when I set the debug mode.

When I run the command directly from the cygwin command line, it works fine.

How to explain this behavior ?

Sample Code


No file was uploaded with this report