You sound like someone extolling the supposed but fake benefits of OBAMA healthcare. There's no health concerns in this application of PVC. Many Americans with their own well, pools, pool filters water softeners/filters, irrigation etc. have used PVC outside in direct sunlight all over this country for decades without the problems you say the code is based on. Those are demonstrable facts that fly in the face of the code and why millions of people disregard the code. BTW, this application of PVC to install a softener with is to be inside his pool house, out of the sun. I'll bet there is other PVC in there already or will be if he is just now building the pool house. As so far as enforcement of the code.... Those people I describe above, they are township supervisors, local government officials/folks and the general population using PVC in direct sunlight without problems or enforcement of the code. That is because It is very inexpensive, very long term durable, is easy to install and it looks nice unless some dummy uses the purple primer most codes require to be slopped on it.... (I've never used it I used clear cleaner and cement). Yeah I hear ya, not political!! (wink wink) but millions of Americans are finally waking up to realize they don't need all this big brother safety and property protection "we know best" hand holding in all facets of their lives whether it be by codes or laws or regulations. For some silly reason they think it is a loss of individual freedom issue. Yeah I hear ya!! (wink wink) Maybe they should get out of the office and test real world longevity etc. results. No arguing, just a simple and logical common sense based discussion with a good buddy but, I find most plumbers won't get in to a discussion. They simply wave the code book and pretend it has the importance of the Bible, Koran, Torah etc., and there is no doubt in my mind that it does have that importance to licensed plumbers.