From: RAJAMOHAN <garajamohan@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Holger Jakobs <holger@jakobs.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: could not load library "$libdir/plpython2" while upgrading from postgresql-10 to 12
Date: Mon, 8 Mar 2021 19:59:04 +0530
Message-ID: <CAFzdntvi_0RLJTfjDiqMzmt_ewSWMbdwFfR9dXt2q9dnBMLyNg@mail.gmail.com> (raw)
In-Reply-To: <1622691.1615134009@sss.pgh.pa.us>
References: <CAFzdntsTDKkCv8hBaqdoGWM+MZk0oq49L5AmRaohe-yCyciuyw@mail.gmail.com>
<3641e106-1db2-270a-691d-521ffacf03c7@jakobs.com>
<CAFzdntvdEvwB_xwkOgadB5Go4qRy3HsdhR3XPeXtAHfBL1xKXw@mail.gmail.com>
<1622691.1615134009@sss.pgh.pa.us>
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@sss.pgh.pa.us> wrote:
> RAJAMOHAN <garajamohan@gmail.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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: garajamohan@gmail.com, tgl@sss.pgh.pa.us, holger@jakobs.com, pgsql-admin@lists.postgresql.org
Subject: Re: could not load library "$libdir/plpython2" while upgrading from postgresql-10 to 12
In-Reply-To: <CAFzdntvi_0RLJTfjDiqMzmt_ewSWMbdwFfR9dXt2q9dnBMLyNg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox