postgresql7.1 select to_char(current_timestamp, 'YYYY-MM-DD') posted_date = current_timestamp