v3.25.1
Pension and other postretirement plans - Net Periodic Benefit Cost (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Apr. 30, 2025
Apr. 30, 2024
Apr. 30, 2025
Apr. 30, 2024
Pension Plans | International        
Defined Benefit Plan Disclosure [Line Items]        
Service cost $ 239 $ 234 $ 471 $ 471
Interest cost 639 685 1,262 1,374
Expected return on plan assets (651) (416) (1,289) (833)
Amortization of prior service credit (2) (2) (4) (4)
Amortization of net actuarial gain (68) 8 (136) 17
Total benefit cost 157 509 304 1,025
Pension Plans | United States        
Defined Benefit Plan Disclosure [Line Items]        
Service cost 2,531 2,507 5,062 5,015
Interest cost 4,691 4,752 9,383 9,505
Expected return on plan assets (6,609) (6,652) (13,219) (13,306)
Amortization of prior service credit 0 0 0 0
Amortization of net actuarial gain 474 0 947 0
Total benefit cost 1,087 607 2,173 1,214
Postretirement Benefit Costs | United States        
Defined Benefit Plan Disclosure [Line Items]        
Service cost 58 70 117 141
Interest cost 643 754 1,294 1,508
Amortization of net actuarial gain (124) (147) (250) (295)
Total benefit cost $ 577 $ 677 $ 1,161 $ 1,354