Employee was preparing 8' section of 10"" pipe to be welded and installed. Employee unbolted upper portion of pipe to install purge valve. upper section of pipe came free began to slide off rack, employee grabbed for pipe and his left thumb for caught between pipe and angle iron of pipe rack.