I'm trying to get News working on 4.6.3/pg7.3.3 - There are currently 6 bugs in bugtracker. The first one comes up when trying to create a new post and seems to be related to
select current_timestamp + 14 from dual
The 14 comes from a call to [ad_parameter ActiveDays "news" 14]. The error reported is a casting issue - can't add an integer to a timestamp. I've been reviewing the postgres docs and searching online but haven't been able to find the proper syntax for adding days to a date. I tried casting to interval but that didn't work, can't cast to day/days/hours. I'm stumped so far. I'm sure it's joke-simple so instead of wasting more time searching, perhaps someone could help me out?
Request notifications