Seems that PVC doesn't like real high pH solutions. We had two buried long (about 1 mile) buried 4" CPVC lines, one with NaOH and the other w/sodium hypo--~10% ea. They hadn't been glued well and started leaking at the joints. We replaced them with new CPVC, but this time we made sure they were very well glued--even UT'd every joint. Again the joints leaked after a while. Problem traced to the glue itself-the high pH actually dissolved it. We tested and tested various glues and found that most were fine. We then decided to use the much easier to glue reg. PVC. No more leaking joints, but the pipe itself started cracking all over.
Not a good time in my career!