Re: [GENERAL] problems with pg_restore and java

2011-09-08 Thread Miguel Angel Hernandez Moreno
If I leave the trust authentication server, the program runs correctly. change is that the exec () does not add the env variable 2011/9/8 Miguel Angel Hernandez Moreno > sorry > > > comando=: "C:\Program Files\pgAdmin III\1.12\pg_restore.exe" -h > 192.170.1.89 -d postgres -U postgres -v -1 "C:\

Re: [GENERAL] problems with pg_restore and java

2011-09-08 Thread Miguel Angel Hernandez Moreno
sorry comando=: "C:\Program Files\pgAdmin III\1.12\pg_restore.exe" -h 192.170.1.89 -d postgres -U postgres -v -1 "C:\Users\Miguel\Documents\ NetBeansProjects\file.backup" 2011/9/8 Miguel Angel Hernandez Moreno > Sorry > > This is the error that sends me > > pg_restore: connecting to databas

Re: [GENERAL] problems with pg_restore and java

2011-09-08 Thread Miguel Angel Hernandez Moreno
Sorry This is the error that sends me pg_restore: connecting to database for restore pg_restore: [archiver (db)] connection to database "postgres" failed: could not create socket: Unknown socket error (0x277A/10106) pg_restore: *** aborted because of error And this is the value of my variabl

Re: [GENERAL] problems with pg_restore and java

2011-09-08 Thread Merlin Moncure
On Thu, Sep 8, 2011 at 10:45 AM, Miguel Angel Hernandez Moreno wrote: > Hello > > I have a program in java to make a backup running pg_restore, If you use > linux give a successful outcome. > but if you use windows I mark an error generating the socket. I think that > it could be the environment v