pgAgent: Log connection error message and initial connection

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Cc: Dave Page <dpage(at)pgadmin(dot)org>
Subject: pgAgent: Log connection error message and initial connection
Date: 2009-02-05 13:02:35
Message-ID: 498AE36B.9040002@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi All,

As per my discussion with Dave Page, I have modified pgagent:

- Log connection error message no matter what the log level is.
Introduced a LOG_WARN_EXT (EXTENDED WARNING), which will log
messages as warning even without taking the LogLevel into
consideration

- If the initial connection attempt fails, it will loop, and
retry a few times at the speed of the normal timing loop
before giving up.

Please find the patch for that.

--
Regards,
Ashesh Vashi

EnterpriseDB INDIA: http://www.enterprisedb.com

Attachment Content-Type Size
pgagent_logConnError_primaryConnAttempt.patch text/x-diff 4.4 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2009-02-05 13:19:14 Re: pgAgent: Log connection error message and initial connection
Previous Message Quan Zongliang 2009-02-05 11:45:03 Re: I want to modify "pgConn::ExecuteSet"