Re: could not load library "$libdir/plpython2" while upgrading from postgresql-10 to 12

From: RAJAMOHAN <garajamohan(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Holger Jakobs <holger(at)jakobs(dot)com>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: could not load library "$libdir/plpython2" while upgrading from postgresql-10 to 12
Date: 2021-03-08 14:29:04
Message-ID: CAFzdntvi_0RLJTfjDiqMzmt_ewSWMbdwFfR9dXt2q9dnBMLyNg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thanks Tom,

Query helped. After removing the functions below, the upgrade went well.

plpython2_call_handler;
plpython2_inline_handler;
plpython2_validator;

Thanks & Regards,
Raj

On Sun, Mar 7, 2021 at 9:50 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> RAJAMOHAN <garajamohan(at)gmail(dot)com> writes:
> > But the issue is still occurring for me, even though I dropped the
> > *plpython2u* extension and functions which were using the it.
>
> Look through pg_proc for entries mentioning plpython2 in probin, ie
>
> select proname from pg_proc where probin like '%plpython2%';
>
> Another possibility is that you added plpython2 to shared_preload_libraries
> or one of its sibling settings.
>
> regards, tom lane
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2021-03-08 15:58:12 Re: RESTRICT TABLE OWNER NOT TO DELETE IT
Previous Message Greg Spiegelberg 2021-03-08 13:47:31 Re: RESTRICT TABLE OWNER NOT TO DELETE IT