Anterior thigh pain is related either to the lateral femoral cutaneous nerve (a nerve that enters the thigh around the pelvis and is liable for compression with long surgeries like you had) or from L1-3 originating from the upper lumbar spine. If it is nerve injury from compression (from lying on your belly in a long surgery), then over time, the symptoms should improve.
The posterior thigh pain that radiates down to the foot is from irritation or injury to the L5 or S1 nerve. The nerve needs to be manipulated in a redo decompression and this can cause irritation. Generally, if that is the case, I will order an MRI to make sure the nerve is decompressed and no hematoma (that can cause compression) has formed.
Donald Corenman, MD, DC is a highly-regarded spine surgeon, considered an expert in the area of neck and back pain. Trained as both a Medical Doctor and Doctor of Chiropractic, Dr. Corenman earned academic appointments as Clinical Assistant Professor and Assistant Professor of Orthopaedic Surgery at the University of Colorado Health Sciences Center, and his research on spine surgery and rehabilitation has resulted in the publication of multiple peer-reviewed articles and two books.