What is code for a t&p pipe on water heater. The existing copper pipe enters into a steel water heater pan. The 1" pvc pipe end 6" above cement floor. Due to the water heater location, it is impossible to plumb to outside. The house was built in the late 1980's. Is there a grandfather clause for this situation?