SVN Commit by dpage: r7584 - in trunk/pgagent: . include - Mailing list pgadmin-hackers

From svn@pgadmin.org
Subject SVN Commit by dpage: r7584 - in trunk/pgagent: . include
Date
Msg-id 200902101708.n1AH8as8016146@developer.pgadmin.org
Whole thread Raw
List pgadmin-hackers
Author: dpage

Date: 2009-02-10 17:08:35 +0000 (Tue, 10 Feb 2009)

New Revision: 7584

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7584&view=rev

Log:
Modify pgAgent so that it loops at startup and tries to connect to the database up to 10 times before bailing out.
Additionally,ensure that connection problems are always logged, and that on Windows the service control manager isn't
toldthe service is running until the connection is up and we're ready to rock'n'roll. Finally, support for starting
witha suspended service thread is removed - we never used it anyway. 

[Ashesh Vashi with some tweaking by me]


Modified:
   trunk/pgagent/connection.cpp
   trunk/pgagent/include/pgAgent.h
   trunk/pgagent/pgAgent.cpp
   trunk/pgagent/unix.cpp
   trunk/pgagent/win32.cpp

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: pgAdmin for Greenplum database?
Next
From: Dave Page
Date:
Subject: Re: pgAgent: Log connection error message and initial connection