Yes, the way you reported your Canadian Pension would be correct, if you want to exclude your pension income from State Taxes.
Since it is a pension from a private company, you could report it as 'Other Reportable Income' but you would then have to manually exclude it in your state interview from state tax (if that applies in your state; you can check your state's DOR to verify).
The income is taxed the same, either way.
Be sure to go to the Foreign Tax Credit section to report any Canadian tax you paid on this income.
@fredk99
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"