Unless the added material is at the same pH as the mash without it it will effect the pH. The direction depends on whether the pumkin is at higher or lower pH than the mash (it will pull it in that direction) and the magnitude of the shift will depend on the pH of the mash and pumpkin and the buffering capacities of each. Clearly a test is the simplest way to answer this question.