I have both 9.0 and 9.1 installed in Centos 6:
postgresql90.x86_64 9.0.7-1PGDG.rhel6 @pgdg90
postgresql90-docs.x86_64 9.0.7-1PGDG.rhel6 @pgdg90
postgresql90-libs.x86_64 9.0.7-1PGDG.rhel6 @pgdg90
postgresql90-odbc.x86_64 09.00.0310-1PGDG.rhel6 @pgdg90
postgresql90-plpython.x86_64 9.0.7-1PGDG.rhel6 @pgdg90
postgresql90-server.x86_64 9.0.7-1PGDG.rhel6 @pgdg90
postgresql91.x86_64 9.1.3-1PGDG.rhel6 @pgdg91
postgresql91-libs.x86_64 9.1.3-1PGDG.rhel6 @pgdg91
postgresql91-plpython.x86_64 9.1.3-1PGDG.rhel6 @pgdg91
postgresql91-server.x86_64 9.1.3-1PGDG.rhel6 @pgdg91
There is this thread: http://archives.postgresql.org/pgsql-admin/2011-09/msg00101.php
My ldconfig output is a bit different:
$ ldconfig -p | grep pq
libpqwalreceiver.so (libc6,x86-64) => /usr/pgsql-9.0/lib/libpqwalreceiver.so
libpqwalreceiver.so (libc6,x86-64) => /usr/pgsql-9.1/lib/libpqwalreceiver.so
libpq.so.5 (libc6,x86-64) => /usr/pgsql-9.0/lib/libpq.so.5
libpq.so.5 (libc6,x86-64) => /usr/pgsql-9.1/lib/libpq.so.5
libipq.so.0 (libc6,x86-64) => /lib64/libipq.so.0
Is there a clean solution to have both versions working?
Regards, Clodoaldo