title: List all sequences in a Postgres db 8.1 with SQL
body: <p>I'm converting a db from postgres to mysql. </p>
  
  <p>Since i cannot find a tool that does the trick itself, i'm going to convert all postgres sequences to autoincrement ids in mysql with autoincrement value.</p>
  
  <p>So, how can i list all sequences in a <strong>Postgres</strong> DB (<strong>8.1</strong> version) with information about the table in which it's used, the next value etc with a SQL query?</p>
  
  <p>Be aware that i can't use the <code>information_schema.sequences</code> view in the 8.4 release.</p>