Re: pgAgent STDERR and Time Zone Questions

From: David E(dot) Wheeler <david(at)justatheory(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Cc: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Subject: Re: pgAgent STDERR and Time Zone Questions
Date: 2012-01-11 20:23:25
Message-ID: AC0389C7-CF00-4100-981F-64F8D724332D@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Jan 11, 2012, at 12:17 AM, Dave Page wrote:

> We haven't released a new version since then. I'm somewhat mystified
> about the lack of log data though - that's just plain odd. I assume
> it's not dumping it to stdout (which should only happen if a logfile
> isn't specified - which you seem to have done)?

Yes, the "WTF!" did get emitted to the terminal where I ran pgagent, presumably STDERR, though.

>> Going back to the box that originally had this problem, which also uses Devrim’s RPM, I created a new test job with exactly the same step as above. There I get:
>>
>> postgres=# select * from pgagent.pga_jobsteplog where jsljlgid = 155;
>> -[ RECORD 1 ]------------------------------
>> jslid | 177
>> jsljlgid | 155
>> jsljstid | 21
>> jslstatus | s
>> jslresult | 5
>> jslstart | 2012-01-10 22:18:42.995252+00
>> jslduration | 00:00:00.013335
>>
>> Which just seems wrong. Both boxes are running CentOS 5.5 (Linux 2.6.18-194.el5). Might there be a difference in the version of Wx installed or something to account for this?
>
> Are both systems 32bit?

Both are 64 bit, identical CentOS 5.5 builds:

Linux foo.example.com 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Linux bar.example.com 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

One is a VM, the other big iron. Shouldn’t make a difference, I wouldn’t think.

> I can't imagine a wxWidgets version would
> cause such a difference - the code that handles the return values is
> mostly pure C++, and the wxWidgets code that is there is so common
> (things like wxT, wxString) that we'd see weirdness all over the place
> in a bunch of apps if that was broken.

Yeah, it was a wild stab. I sure wish it would have been the same behavior on both boxes. *sigh*

Maybe I can install the Git build on the production box that’s having the problems and squeeze in a few tests between hourly runs of production code…I’ll try to do that today.

Best,

David

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message David E. Wheeler 2012-01-11 20:24:38 Re: pgAgent STDERR and Time Zone Questions
Previous Message Dave Page 2012-01-11 08:17:59 Re: pgAgent STDERR and Time Zone Questions