> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Andrus
> Sent: 19 April 2006 11:21
> To: pgadmin-support@postgresql.org
> Subject: Re: [pgadmin-support] how to create backup copies
> 
> 
> > Application log contains
> >
> > Could'nt execute script C:\DOCUME~1\postgres\....  GetLastError() 
> > returned 183, errno = 0
> 
> From
> 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
> us/vclib/html/_crt__popen.2c_._wpopen.asp
> 
> Note   If used in a Windows program, the _popen function 
> returns an invalid
> file pointer that will cause the program to hang 
> indefinitely. _popen works properly in a Console application. 
> To create a Windows application that redirects input and 
> output, see Creating a Child Process with Redirected Input 
> and Output in the Platform SDK

pgAgent isn't a Windows app, it's a console app (despite the fact it
does link to some (wx)Windows libraries). Besides, you don't see it
hang...

I'm going to see if I can recreate this problem in a VM and try to track
it down. I'll get back to you asap...

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to