Today I found that many of my production databases are having a future date for the column named status_update, which sets ONLY by now()
function.
Most of the dates are for 8 October:
- 2014-10-08 08:20:42.97564
- 2014-10-08 16:31:30.304743
- etc.
But some of them:
- 2014-10-09 08:31:44.775589
- 2014-10-10 08:50:24.235533
- 2014-10-13 10:42:20.038917
- etc.
Please can anyone help me with this issue? How could it be?
My application is built on PHP. Current time is 2014-10-07 17:35:00.
SELECT now()
returns 2014-10-07 17:35:56.192627+01
Thanks in advance.
UPDATE
My fault, I missed pjobdate + current_time
expression that used for setting the value for status_update. Sorry.