I can use reindexing as a work around. Thanks!
Great!
If this is not something expected and if you need any more information on this issue please let me know.
No, this is not the expected behaviour, you can open a bug for pg_upgrade in order to find out where the problem comes from.
Regards,
Juan José Santamaría Flecha