> Hello,
> we are trying pg_upgrade on an old test instance (9.1 -> 9.3)
>
> the check fails for a library that we don't mange to locate in the old
> system.
> (we suspect it to come from a very old try to implement a custom FTS
> parser).
>
> So my question: can we find out where the pg_ugrade checker did find
> this reference?
found it in a function body:
select pg_get_functiondef(oid)
from pg_proc
where pg_get_functiondef(oid) ~'hello'
and not proisagg -- seems that you can't call functiondef on aggregate functions, at least in 9.1
>
> ($libdir/hello.so does not exist in the 9.1 instance)
>
>
> Performing Consistency Checks
> -----------------------------
> ...
> Checking for presence of required libraries fatal
>
> Could not load library "$libdir/hello.so"
> ERROR: could not access file "$libdir/hello.so": No such file or
> directory
>
> many thanks,
>
> Marc Mamin
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To
> make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general