pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ian Barwick <ian.barwick@2ndquadrant.com>
To: Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: pldbgapi error
Date: Mon, 20 May 2019 21:05:20 +0900
Message-ID: <c543d475-7bd3-1305-560c-b389806f6fd2@2ndquadrant.com> (raw)
In-Reply-To: <CAA2eZXwoFk+u=Axh+4-POgxpaZfnuRzDS6xCDuaOiHiiGY+pQQ@mail.gmail.com>
References: <CAA2eZXy10ew16fBE9BN0iuHn4Jd1dce3N2cYF5yUWu1teACqUA@mail.gmail.com>
	<eb5e8fea-e774-8368-7dd4-9e378b77a2ea@2ndquadrant.com>
	<CAA2eZXwoFk+u=Axh+4-POgxpaZfnuRzDS6xCDuaOiHiiGY+pQQ@mail.gmail.com>

On 5/20/19 8:57 PM, Prakash Ramakrishnan wrote:

> 
> On Mon, May 20, 2019 at 5:25 PM Ian Barwick <ian.barwick@2ndquadrant.com <mailto:ian.barwick@2ndquadrant.com>> wrote:
> 
>     On 5/20/19 7:07 PM, Prakash Ramakrishnan wrote:> Hi Team,
>       >
>       > We are trying to install the pldbgapi extension in postgresql 11.3 server but we getting below error,Please do the needful,
>       >
>       > ==> make USE_PGXS=1
>       > gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I/usr/pgsql-11/lib/pgxs/src/makefiles/../../src/pl/plpgsql/src -I. -I./ -I/usr/pgsql-11/include/server -I/usr/pgsql-11/include/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include  -c -o plpgsql_debugger.o plpgsql_debugger.c
>       > plpgsql_debugger.c: In function ‘plpgsql_send_vars’:
>       > plpgsql_debugger.c:263:16: error: ‘TRUE’ undeclared (first use in this function)
>       >          isArg = TRUE;
>       >                  ^
>       > plpgsql_debugger.c:263:16: note: each undeclared identifier is reported only once for each function it appears in
>       > plpgsql_debugger.c:244:4: warning: enumeration value ‘PLPGSQL_DTYPE_ROW’ not handled in switch [-Wswitch]
>       >      switch( estate->datums[i]->dtype )
>       >      ^
>       > plpgsql_debugger.c:244:4: warning: enumeration value ‘PLPGSQL_DTYPE_REC’ not handled in switch [-Wswitch]
>       > plpgsql_debugger.c:244:4: warning: enumeration value ‘PLPGSQL_DTYPE_RECFIELD’ not handled in switch [-Wswitch]
>       > plpgsql_debugger.c:244:4: warning: enumeration value ‘PLPGSQL_DTYPE_ARRAYELEM’ not handled in switch [-Wswitch]
>       > plpgsql_debugger.c:244:4: warning: enumeration value ‘PLPGSQL_DTYPE_PROMISE’ not handled in switch [-Wswitch]
>       > plpgsql_debugger.c: In function ‘find_datum_by_name’:
>       > plpgsql_debugger.c:484:9: error: ‘PLPGSQL_DTYPE_EXPR’ undeclared (first use in this function)
>       >      case PLPGSQL_DTYPE_EXPR:(...)
> 
>     It looks like you are trying to compile some extension code which has not been updated
>     to be compatible with the PostgreSQL 11 source. Check to see if there's updated code available.
 >
> Hi Ian,
> 
> Thanks for replying can you please help me to solve this problem which code will be support for postgresql 11 can you please share me the link or file.

This is a simple two-step process:

1) locate the source code repository for "pldbgapi" - I don't know what this is, and
    a quick web search doesn't reveal any obvious repositories (but presumably you
    obtained the source from somewhere)
2) check if the repository contains code which is compatible with PostgreSQL 11.


HTH

Regard

Ian Barwick



-- 
  Ian Barwick                   https://www.2ndQuadrant.com/
  PostgreSQL Development, 24x7 Support, Training & Services





view thread (5+ messages)  latest in thread

Message-ID: <c543d475-7bd3-1305-560c-b389806f6fd2@2ndquadrant.com>
Permalink:  ../c543d475-7bd3-1305-560c-b389806f6fd2@2ndquadrant.com/
Also on:    postgresql.org/message-id/c543d475-7bd3-1305-560c-b389806f6fd2@2ndquadrant.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: ian.barwick@2ndquadrant.com, prakash.ramakrishnan.ap@nielsen.com
  Subject: Re: pldbgapi error
  In-Reply-To: <c543d475-7bd3-1305-560c-b389806f6fd2@2ndquadrant.com>
  References: <CAA2eZXy10ew16fBE9BN0iuHn4Jd1dce3N2cYF5yUWu1teACqUA@mail.gmail.com> <eb5e8fea-e774-8368-7dd4-9e378b77a2ea@2ndquadrant.com> <CAA2eZXwoFk+u=Axh+4-POgxpaZfnuRzDS6xCDuaOiHiiGY+pQQ@mail.gmail.com> <c543d475-7bd3-1305-560c-b389806f6fd2@2ndquadrant.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