I have a problem using PostgreSQL when tried to upgrade it from 9.5 to 11. I'm using initdb
to make my master and when I tried to pg_upgrade -c
there is an error like this:
Could not load library "$libdir/repmgr_funcs": ERROR: could not access file "$libdir/repmgr_funcs": No such file or directory
I have checked \dx
, and there is no extension installed except plpgsql
, and I already install the new version of repmgr in Postgres 11.
Do you have any idea how to fix this?
Some clues: I checked /usr/lib/postgresql/9.5/lib
and find repmgr_funcs.so
, but it is empty. So it is safe to delete manually? I'm still replicating master to slave.