sequence fix for postgresql

Created by  Rob Vermaas  on May 11, 2009
7ZSVXUGFXOI3BOJE37SXIT6MDN6AJRBCCJNEICYDMBJF5QOEY6BAC
Change contents