Fixed pgsql column type detection bug.