Shouldn't have to, so long as you're not changing major version of postgres. I don't know what will happen if you recompile with MULTIBYTE support or something tho.
I have upgraded from 7.2.0 to 7.2.1 to 7.2.2 all without recompiling PHP or Apache.
Chris