pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jain, Ankit <Ankit.Jain@snapon.com>
To: Ian Lawrence Barwick <barwick@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: RE: Issues with using plpgsql debugger using PG13 on Centos 7
Date: Wed, 31 Mar 2021 15:58:51 +0000
Message-ID: <ac33ef902ab148f08d722bab7260c2b7@snapon.com> (raw)
In-Reply-To: <CAB8KJ=j7H66FMupL1DmZ6abmY8L6cAaBR1Jm+FY-mdQbRyRT1w@mail.gmail.com>
References: <00f10bf59d6e4233a416977dc953d107@snapon.com>
	<CAB8KJ=j7H66FMupL1DmZ6abmY8L6cAaBR1Jm+FY-mdQbRyRT1w@mail.gmail.com>

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.
2021年2月2日(火) 12:06 Jain, Ankit <Ankit.Jain@snapon.com<mailto: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

--
EnterpriseDB: https://www.enterprisedb.com<https://urldefense.com/v3/__https:/www.enterprisedb.com__;!!Lf_9VycL...;



view thread (3+ messages)

Message-ID: <ac33ef902ab148f08d722bab7260c2b7@snapon.com>
Permalink:  ../ac33ef902ab148f08d722bab7260c2b7@snapon.com/
Also on:    postgresql.org/message-id/ac33ef902ab148f08d722bab7260c2b7@snapon.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: Ankit.Jain@snapon.com, barwick@gmail.com
  Subject: Re: Issues with using plpgsql debugger using PG13 on Centos 7
  In-Reply-To: <ac33ef902ab148f08d722bab7260c2b7@snapon.com>
  References: <00f10bf59d6e4233a416977dc953d107@snapon.com> <CAB8KJ=j7H66FMupL1DmZ6abmY8L6cAaBR1Jm+FY-mdQbRyRT1w@mail.gmail.com> <ac33ef902ab148f08d722bab7260c2b7@snapon.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