如何将列值与当前日期的纪元格式进行比较?
尝试了以下查询:
select f_id from (select (extract(epoch from now()))) as epochNow, data_history
where (extract(epoch from f_lastmodified) + f_retention_period) < epochNow
ERROR :
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
********** Error **********
ERROR: operator does not exist: double precision < record
SQL state: 42883
任何指针?