Fix up patches for postgresql autoincrement support to master version.