While you're at it, why not fix the code so that it can deal withmultiple SERIALs attached to a table?
regards, tom lane