I upgraded our gentoo server, got lost in the messages and, to make the story short, I ended up removing my postgresql 9.1 BEFORE I run a pg_upgrade to 9.2.. Then I discovered that pg_upgrade requires the binary of the previous version to still be there!
How can I re-install postgresql 9.1 without removing 9.2?
I know I can specify a version with /etc/portage/package.mask
eg.
>dev-db/postgresql-server-9.1.9
<dev-db/postgresql-server-9.1.9
but I'm afraid doing so I would replace the postgresql installed and end up more screwed up than before.