Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSh2o-0003FC-Bn for pgsql-general@arkaria.postgresql.org; Mon, 20 May 2019 12:05:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hSh2n-0007Cs-02 for pgsql-general@arkaria.postgresql.org; Mon, 20 May 2019 12:05:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSh2m-0007Cl-J9 for pgsql-general@lists.postgresql.org; Mon, 20 May 2019 12:05:28 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSh2j-0000Or-Je for pgsql-general@lists.postgresql.org; Mon, 20 May 2019 12:05:27 +0000 Received: by mail-pl1-x643.google.com with SMTP id g9so6630444plm.6 for ; Mon, 20 May 2019 05:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=mOd1T1gFURvRJ3IxPNcL8GPGXNz+6rkcoP/bC8DZMK0=; b=olng9ca2hnhE+xgdfcKrop/2Y3cTgtY4Vhf117HXv5dDVcx8sF71QOlnAOrN3Nwt7t ucbaHla3lBdV4zHY4b5xZR9WyyBWI23Jf73PhrDRBjG+dvOsghtp1U4L6LGFnal9KfS5 3FewAdB4QDLl/3Qnzu+j1ZlmBDbC2n16bvSK+Cbb3UhfGrKumrbsvarbRSdXrwYXW4k7 VN8iPE802U0hQj0NaRf+8m4CEA7x9QcJFhExMJyaznkH+fM0SKq/jO94t+6R5eB5trne UPhwE2H7Tz3fn4ZOWDVsc12kTfmh2pYtIiVKGCv20umAlKAGqwspel//58TluVhL8yYE F/dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mOd1T1gFURvRJ3IxPNcL8GPGXNz+6rkcoP/bC8DZMK0=; b=YYkCSVamytLy10eGLTzn43/hbui7uBbKGhj/ZSXRkQaukPAjxxtoEcsxNizT3WK2LC 20QnQv3B0MxzDMXOmGols2JVd9ZVNNYZ5/87ufj4Xfw03FJihzI45C8bpCic6ZayzfDj zsPTTlG3BiXftQpTeIjuYU2/yDBkVZmDzuH88RLYIgkNUcHKHYrMDsffEGQc9LH9CeSg CGiNL1FVK0wPqRV37unWoltbWPtAhEmB7DFQp08zRKmAd9X0dswQFPrZrNCZdmX//A4R U8r0DOtG/Ip6bx+6VT7OAvV/+rOc8LodJPL0T2eLQ3Dojkl7TbdOa2nIImmnvVfEoLRz adNg== X-Gm-Message-State: APjAAAVVX8q2s2GY00Kv9Ua929qTwUt+7nfWphW+8TpYRBistE/gKmn0 GOWMPr8cNGdpCPU23ugmb10Yeg2x2R7jF4X0JHO2ux45yJ+msAAg6aDbdt4E0NVPu5ra8q+R0y6 rjuSV9xTVnXmzyup0VZ1xuRpsLFc/niTQeC42Kc7TzTqu6xUX8gD32c4C6EqeBSJGyI53md/mOo ahdB0nb12QSxyd+fy5jBK8 X-Google-Smtp-Source: APXvYqzdoNKaGo7B+u4x7nFNBU5/mTDiV/XAEXPAoT62LoBgSck8PzWL7KXHmDN7yDBIDBgKvtz4zA== X-Received: by 2002:a17:902:2de4:: with SMTP id p91mr58732901plb.300.1558353924117; Mon, 20 May 2019 05:05:24 -0700 (PDT) Received: from osaka.octopusnet (p5196169-ipngn11402marunouchi.tokyo.ocn.ne.jp. [153.163.130.169]) by smtp.gmail.com with ESMTPSA id g17sm6845550pfb.56.2019.05.20.05.05.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 May 2019 05:05:23 -0700 (PDT) Subject: Re: pldbgapi error To: Prakash Ramakrishnan Cc: "pgsql-generallists.postgresql.org" References: From: Ian Barwick Message-ID: Date: Mon, 20 May 2019 21:05:20 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 5/20/19 8:57 PM, Prakash Ramakrishnan wrote: > > On Mon, May 20, 2019 at 5:25 PM Ian Barwick > 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