There are a lot of good answers here.
BUT the answers bring a few more questions.
Let's say that a listing says a home was built in the late 1980's, and was replumbed in 1996. From the posts that have already been made, I think we can assume that PVC was used in 1996, rather than PEX. Now that the replumb is over 20 years old, will the PVC be subject to leaking? Years ago, we actually requested copper plumbing in new homes because it was thought to last as long as the house. What about PVC? Those pipes in the attics are exposed to a wide variance in temperature, as well as by hot water flowing through them. What about the PVC joints? Are they as strong as the PVC pipes themselves, or are they subject to failure?
I guess what I'm asking is whether PVC has, in effect, solved one issue (pinhole leaks in copper) but is subject to its own type of failures?
Most importantly, have any of the agents out there seen where PVC plumbing has failed in a home? If so, after how many years?