Re: pgAgent reports failure upon success - Mailing list pgadmin-support

From Dave Page
Subject Re: pgAgent reports failure upon success
Date
Msg-id CA+OCxoweKw_x93GVdWeFoKdJviid6hZNOgm7kDPiSrPZgSnGkw@mail.gmail.com
Whole thread Raw
In response to Re: pgAgent reports failure upon success  ("Martin French" <Martin.French@romaxtech.com>)
Responses Re: pgAgent reports failure upon success
List pgadmin-support
Hi

On Fri, Jul 6, 2012 at 11:36 AM, Martin French <Martin.French@romaxtech.com> wrote:

Hi Dave,

That seems reasonable enough to me.

GetLastError only returns a wxString though, fed from PQerrorMessage so I guess it would be the string that would be tested for content?

Maybe passing the ExecStatusType into a DBConn/DBResult member variable that could be tested would work better?


Yes, that seems like a good solution. Can/will you work up a patch for that?

Thanks, Dave. 


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-support by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Posgres 9.1.4
Next
From: "Martin French"
Date:
Subject: Re: pgAgent reports failure upon success