Re: Error while upgrading from v12 to v13

From: Imre Samu <pella(dot)samu(at)gmail(dot)com>
To: shashidhar Reddy <shashidharreddy001(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error while upgrading from v12 to v13
Date: 2022-10-29 14:26:41
Message-ID: CAJnEWwkf2MUtKGXc-P=2S7JJ1YOnOtUp+EMj5XFsoFqzj1MeeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> ERROR: could not find function "pl_profiler_enable" in file

maybe obsolete function?

-- Drop obsolete function
DROP FUNCTION pl_profiler_enable(bool);
https://github.com/bigsql/plprofiler/blob/master/plprofiler--3.5--4.0.sql

Regards,
Imre

shashidhar Reddy <shashidharreddy001(at)gmail(dot)com> ezt írta (időpont: 2022.
okt. 29., Szo, 13:40):

>
> I am getting below error while upgrading postgres from version 12 to 13
> and not sure how to enable the function before upgrading the cluster. Can
> you please help me to resolve this.
>
> error: could not execute query: ERROR: could not find function
> "pl_profiler_enable" in file
> "/usr/lib/postgresql/13/lib/plprofiler.so"
> Command was: CREATE FUNCTION "public"."pl_profiler_enable"("enabled"
> boolean) RETURNS boolean
> LANGUAGE "c"
> AS '$libdir/plprofiler', 'pl_profiler_enable';
> Shashidhar
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message shashidhar Reddy 2022-10-29 14:33:33 Re: Error while upgrading from v12 to v13
Previous Message shashidhar Reddy 2022-10-29 14:08:45 Re: Error while upgrading from v12 to v13