所以,我们在比较带有时分秒的日期的时候,一定要使用to_timestamp()函数是最准确的。
postgresql数据库 to_date()函数,to_timestamp()函数
原文:https://www.cnblogs.com/dongyaotou/p/13224307.html