 In an ideal flow, there are two kinds of boundary condition that the flow has to satisfy,

If the flow turns enough so that it becomes parallel to the wall, we do not need to worry about pressure boundary condition.However, as the flow turns, its static pressure decreases (as described earlier).If there is not enough pressure to start with, the flow won't be able to complete the turn and will not be parallel to the wall.