It may also depend on your country of origin. I am not sure if in your country they return back the old passport after renewal. If they return back the old passport then you can go by qorax reply. If they do not return back the old passport, then you are in trouble.
For example, for Indian passports there is a stamp that mentions "passport cancelled but valid visas are not cancelled". In this case you can use the new passport along with the valid visa in the old passport.
Even in countries where it's prevalent to hold back the older pps during pp renewals - u can ask for their "return" if they contain "Valid Visa/s", IMHO.
Qorax