v3.26.1
Pension and other postretirement plans - Net Periodic Benefit Cost (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
Pension Plans | UNITED STATES        
Defined Benefit Plan Disclosure [Line Items]        
Service cost $ 1,985 $ 2,531 $ 4,046 $ 5,062
Interest cost 4,177 4,691 8,757 9,383
Expected return on plan assets (6,020) (6,609) (12,664) (13,219)
Amortization of prior service credit 0 0 0 0
Amortization of net actuarial gain 814 474 1,865 947
Settlement loss 24,049 0 24,049 0
Total benefit cost 25,005 1,087 26,053 2,173
Pension Plans | International        
Defined Benefit Plan Disclosure [Line Items]        
Service cost 133 239 265 471
Interest cost 607 639 1,211 1,262
Expected return on plan assets (551) (651) (1,098) (1,289)
Amortization of prior service credit (2) (2) (4) (4)
Amortization of net actuarial gain (87) (68) (172) (136)
Settlement loss 0 0 0 0
Total benefit cost 100 157 202 304
Postretirement Benefit Costs | UNITED STATES        
Defined Benefit Plan Disclosure [Line Items]        
Service cost 35 58 70 117
Interest cost 522 643 1,045 1,294
Amortization of net actuarial gain (413) (124) (827) (250)
Total benefit cost $ 144 $ 577 $ 288 $ 1,161