Inclusion criteria:
The study's inclusion criteria encompassed individuals who fulfilled the subsequent requirements: age exceeding 18 years, categorized as ASA I or ASA II (pertaining to the American Society of Anesthesiologists Physical Status Classification System, signifying a patient in good health or with mild systemic illness, respectively), pregnancy at a gestational age surpassing 37 weeks, unbroken membranes, scheduled surgical procedures, patient agreement and contentment with study participation, and women with a solitary pregnancy.
Exclusion criteria:
The exclusion criteria for the study encompass several factors, including ASA III or higher, which indicates severe systemic disease or a constant threat to life, documented drug allergy to melatonin or any other study medications, contraindications for spinal anesthesia such as spinal abnormalities or infections, inability of the patient to respond or demonstrate awareness to the questions rose, a history of mental or neurological diseases that could affect the patient's ability to participate or comprehend the study procedures, addiction to substances that could interfere with the study outcomes, disapproval or dissatisfaction expressed by the patient regarding their involvement in the study, presence of congenital malformations in the fetus detected during routine prenatal screening, inability to provide informed consent due to intellectual impairment or other factors, significant heart disease that could pose additional risks during the surgical procedure.