title: Postgres Truncate Timestamp Truncate to Decisecond
body: <p>I have a <code>timestamp</code> column where I track when an external sensor records a reading. This column goes to the <code>microsecond</code>, but I would like to truncate the data to the <code>decisecond</code> for grouping purposes.</p>
  
  <p>This <a href="http://www.postgresql.org/docs/current/static/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC" rel="nofollow">truncate function</a> works great, but only allows resolution of <code>millisecond</code> or <code>microsecond</code>.  I just need to trim my data to the <code>decisecond</code> to account for errors in my collection process.</p>
  
  <p>Is there a way to return <code>timestamp</code> columns trimmed to the <code>decisecond</code>?</p>