From: | Marc Mamin <M(dot)Mamin(at)intershop(dot)de> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pg_upgrade / Checking for presence of required libraries (SOLVED) |
Date: | 2013-11-08 09:54:51 |
Message-ID: | B6F6FD62F2624C4C9916AC0175D56D880CE4503A@jenmbs01.ad.intershop.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> 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(at)postgresql(dot)org) To
> make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
From | Date | Subject | |
---|---|---|---|
Next Message | Francisco Olarte | 2013-11-08 11:08:42 | Re: Breaking up a PostgreSQL COPY command into chunks? |
Previous Message | si24 | 2013-11-08 09:35:11 | Re: changing port numbers so pgbouncer can read geoserver and postgres |