title: Sequence does not reset after truncating the table
body: <p>I use SELECT lastval() to get wrong serial id  after truncated  the table.</p>
  
  <p>when I truncate the table, I use SELECT lastval(), I got the wrong ID/</p>