RE: Issues with using plpgsql debugger using PG13 on Centos 7 - Mailing list pgsql-general

From Jain, Ankit
Subject RE: Issues with using plpgsql debugger using PG13 on Centos 7
Date
Msg-id ac33ef902ab148f08d722bab7260c2b7@snapon.com
Whole thread Raw
In response to Re: Issues with using plpgsql debugger using PG13 on Centos 7  (Ian Lawrence Barwick <barwick@gmail.com>)
List pgsql-general

Thank you for the pointer. We were able to build it correctly after setting the PG-13 path

PATH=$PATH:/usr/pgsql-13/bin

 

From: Ian Lawrence Barwick <barwick@gmail.com>
Sent: Tuesday, February 2, 2021 2:54 AM
To: Jain, Ankit <Ankit.Jain@snapon.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Issues with using plpgsql debugger using PG13 on Centos 7

 

CAUTION: This email originated from outside of Snap-on. Do not click on links or open attachments unless you have validated the sender, even if it is a known contact. Contact the sender by phone to validate the contents.

202122() 12:06 Jain, Ankit <Ankit.Jain@snapon.com>:

(...)

But got the following error –

ERROR: could not load library "/usr/pgsql-13/lib/plugin_debugger.so": /usr/pgsql-13/lib/plugin_debugger.so: undefined symbol: LWLockAssign SQL state: 58P01

 

Can you please help with getting the debugger working ?

 

It looks like the extension code was compiled against an older PostgreSQL
version (presumably 9.5 or earlier; LWLockAssign was removed in 9.6).

You'll need to make sure it's compiled against the major version you're using.

 

Regards

 

Ian Barwick

 

--

pgsql-general by date:

Previous
From: Radoslav Nedyalkov
Date:
Subject: standby fails with out-of-order XID insertion
Next
From: Michael Lewis
Date:
Subject: Re: Primary keys and composite unique keys(basic question)