I do not think you need sequences in PostgreSQL in the today's world of web applications. I believe you actually wanted AUTOINCREMENT from MySQL.