v3.25.2
Pension and other postretirement plans - Net Periodic Benefit Cost (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2025
Jul. 31, 2024
Pension Plans | International        
Defined Benefit Plan Disclosure [Line Items]        
Service cost $ 250 $ 231 $ 721 $ 702
Interest cost 675 688 1,937 2,062
Expected return on plan assets (683) (417) (1,972) (1,250)
Amortization of prior service credit (2) (2) (6) (6)
Amortization of net actuarial gain (72) 7 (208) 24
Total benefit cost 168 507 472 1,532
Settlement loss 0 0 0 0
Pension Plans | United States        
Defined Benefit Plan Disclosure [Line Items]        
Service cost 2,531 2,507 7,592 7,522
Interest cost 4,691 4,752 14,074 14,257
Expected return on plan assets (6,609) (6,652) (19,827) (19,958)
Amortization of prior service credit 0 0 0 0
Amortization of net actuarial gain 474 0 1,421 0
Total benefit cost 1,087 663 3,260 1,877
Settlement loss 0 (56) 0 (56)
Postretirement Benefit Costs | United States        
Defined Benefit Plan Disclosure [Line Items]        
Service cost 59 70 176 211
Interest cost 657 754 1,951 2,262
Amortization of net actuarial gain (127) (147) (377) (443)
Total benefit cost $ 589 $ 677 $ 1,750 $ 2,030