各位高手,我在 postgres 8 中用下列语句都很正常,但在 postgres 7版本中就出现错误,哪位高手知道如何解决?谢谢.pc2phone=> select sum(trunc(fcall_time/60)+1) from t_prepaid_history; 
ERROR:  Function 'trunc(int4)' does not exist 
        Unable to identify a function that satisfies the given argument types 
        You may need to add explicit typecasts