Skip site navigation (1) Skip section navigation (2)

Help needed in Solving the problem in pg_restore

From: "mohit" <mohit(at)svam(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: Help needed in Solving the problem in pg_restore
Date: 2008-03-10 08:15:37
Message-ID: 000001c88286$ed753850$5300a8c0@SVAMDELHI.COM (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs

Respected sir,


I am new Postgres Sql and I am using this database with Java Technology.

I am executing the below statements in command prompt and they are executing
fine but when I am executing it through my java program it is also working
fine but it is not coming. It is continuously executing the statement
because of this problem I have to stop the server every time when I am
executing the restore statement.


Database is restored properly through java program but it is not coming out



C:\Program Files\PostgreSQL\8.2\bin>pg_restore.exe -i -h localhost -p 5432
-d sdf "C:\Program Files\PostgreSQL\8.2\bin\bbbb.backup" ------> Command


pg_restore.exe -i -h localhost -p 5432 -d "+d+" -v "+"\""+c+"\""  -----Java



psql.exe -h localhost -p 5432 -d "+d+" -f "+"\""+c+"\""     -----Java



Please help me out in solving the problem.



Mohit Uppal
HYPERLINK "BLOCKED::mailto:mohit(at)svam(dot)com"mohit(at)svam(dot)com

Software Engineer

Office ((  (+91) 11204043400 (Ext 233) 

Cell     ((  (+91) 9873333243


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.518 / Virus Database: 269.21.7 - Release Date: 3/8/2008 12:00

pgsql-bugs by date

Next:From: Tom LaneDate: 2008-03-10 12:39:53
Subject: Re: setseed accepts bad seeds
Previous:From: Kris JurkaDate: 2008-03-10 06:14:07
Subject: Re: setseed accepts bad seeds

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group