The only thing I can imagine would be that there is another slony cluster (orremnants of it) hanging around in the 9.4 installation, possibly in another database.
(venv)[postgres@db1 pgbench-tutorial]$ pg_upgrade -b /var/lib/pgsql/test_94/bin -B /var/lib/pgsql/test_95/bin -d /opt/pgsql/test_94 -D /opt/pgsql/test_95 -p 54394 -P 54395 -cPerforming Consistency Checks-----------------------------Checking cluster versions okChecking database user is the install user okChecking database connection settings okChecking for prepared transactions okChecking for reg* system OID user data types okChecking for contrib/isn with bigint-passing mismatch okChecking for presence of required libraries fatalYour installation references loadable libraries that are missing from thenew installation. You can add these libraries to the new installation,or remove the functions using them from the old installation. A list ofproblem libraries is in the file: loadable_libraries.txtFailure, exiting(venv)[postgres@db1 pgbench-tutorial]$ cat loadable_libraries.txt Could not load library "$libdir/slony1_funcs.2.2.2"ERROR: could not access file "$libdir/slony1_funcs.2.2.2": No such file or directory
(venv)[postgres@db1 pgbench-tutorial]$ pg_upgrade -b /var/lib/pgsql/test_94/bin -B /var/lib/pgsql/test_95/bin -d /opt/pgsql/test_94 -D /opt/pgsql/test_95 -p 54394 -P 54395 -c
Performing Consistency Checks
-----------------------------
Checking cluster versions ok
Checking database user is the install user ok
Checking database connection settings ok
Checking for prepared transactions ok
Checking for reg* system OID user data types ok
Checking for contrib/isn with bigint-passing mismatch ok
Checking for presence of required libraries fatal
Your installation references loadable libraries that are missing from the
new installation. You can add these libraries to the new installation,
or remove the functions using them from the old installation. A list of
problem libraries is in the file:
loadable_libraries.txt
Failure, exiting
(venv)[postgres@db1 pgbench-tutorial]$ cat loadable_libraries.txt
Could not load library "$libdir/slony1_funcs.2.2.2"
ERROR: could not access file "$libdir/slony1_funcs.2.2.2": No such file or directory
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных