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
after a little bit of pain, i got it.
the best way to achieve this is to list all tables
select * from pg_tables where schemaname = ''
and then, for each table, list all columns with attributes
select * from information_schema.columns where table_name = ''
then, for each column, test if it has a sequence
select pg_get_serial_sequence('', '')
and then, get the information about this sequence
select * from