Re: pg_upgrade / Checking for presence of required libraries (SOLVED) - Mailing list pgsql-general

From Marc Mamin
Subject Re: pg_upgrade / Checking for presence of required libraries (SOLVED)
Date
Msg-id B6F6FD62F2624C4C9916AC0175D56D880CE4503A@jenmbs01.ad.intershop.net
Whole thread Raw
In response to pg_upgrade / Checking for presence of required libraries  (Marc Mamin <M.Mamin@intershop.de>)
List 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@postgresql.org) To
> make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general


pgsql-general by date:

Previous
From: si24
Date:
Subject: Re: changing port numbers so pgbouncer can read geoserver and postgres
Next
From: Francisco Olarte
Date:
Subject: Re: Breaking up a PostgreSQL COPY command into chunks?