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';
"/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