We are making characters in Pathfinder and a player asked if they could go past 18 with racial bonuses. Now we aren't talking with any equipment, just a simple 15 point buy with pluses also from the race. I'm mostly asking because I'm pretty sure somewhere I heard that you can only go to 22, but that's with levels if I'm not mistaken.
You can go up to 18 by buying, and then add your racial bonus.
No score can be reduced below 7 or raised above 18 using [the purchase method]. See Table: Ability Score Costs for the costs of each score. After all the points are spent, apply any racial modifiers the character might have.