I\'m converting a db from postgres to mysql.
Since i cannot find a tool that does the trick itself, i\'m going to convert all postgres sequences to autoincrement id
I know the question was about postgresql version 8 but I wrote this simple way here for people who want to get sequences in version 10 and upper
you can use the bellow query
select * from pg_sequences
view-pg-sequences