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 1hSgtH-0002WR-Uw for pgsql-general@arkaria.postgresql.org; Mon, 20 May 2019 11:55:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hSgtG-0000JL-89 for pgsql-general@arkaria.postgresql.org; Mon, 20 May 2019 11:55:38 +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 1hSgtF-0000CG-FC for pgsql-general@lists.postgresql.org; Mon, 20 May 2019 11:55:37 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSgt7-0000AI-Vl for pgsql-general@lists.postgresql.org; Mon, 20 May 2019 11:55:35 +0000 Received: by mail-pg1-x543.google.com with SMTP id t1so5281734pgc.2 for ; Mon, 20 May 2019 04:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=p0sqf2IG8YDqDFz21tfEsOhel4cjrm01RcKaIF3LWb4=; b=DM/LorNVbzpGk82TY4Z0DWE7mqGHCYhm8LtKVCxCykhp08yjr3jiZVHgX/ocxNSAMC RDDmHoTjzijcb1cMx/DojW4BjEwMlB0dzpRKjQWmpCJ2nCy+4ed6ieTkPFihDhp/3JI0 APKMdgD1i+4BPeUBugXyHGHapAZS8dUWt4mEUYyYHVq+IKrufjAlRaWqz2r6nuP7u7sb BMMYQuiC+aJ5EcBw6kyBjAHggEKlareKEYzR6Bhd8+5OzteyhKWCtAQYMzHgnFY8BDSz kr44TH/1RtvsuQoWVlZvNGyeG5JEko3L4fZyYJw8vK+774/rLFSULbiy3VYlgWpmOkK2 7uuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=p0sqf2IG8YDqDFz21tfEsOhel4cjrm01RcKaIF3LWb4=; b=d9Ucs3o8DU/aALPeajj1uAZGk0Sx1zc8xFOTAIgAocEEA7o0OXOjYInAG/j95plOuO 7OEH5jBX+5bHExw6a8INKmDQK/+K5jww1V+T+jc5cTRGHfYoSSmtSxKNdpVcpwRjDntm ATxqH97IflFiJCRwETr3Ys2L2SU2GwOqiY0iHUzveoy26M4r601uftW7ly4/hk7GDOhf 6/aiYUqgfuJ5fqnTTitkUpOBzVFB6jK0U7T2v45Oy9GRPNNWUTEw052YSCFR+1go/ZJJ jnBsTvEh0HS0DrIKFwDdbqE3aUgpyomswsjd9mjMqyv71LBzTS0KwUhHuoyB8CokJaz9 BzqQ== X-Gm-Message-State: APjAAAVPKuXb4+VhBnndWfz809dOiyiSaZucE+9OCPMqavDWk0FnVzJz 6j3OnetevySvbNZc/Xyf4bCBoNCbj+yWr/3XQX73amNXvw1wsLUtxR+IlO0vspXcJoSB+3DeFmO oLDobaOob8tt5ewc7dmxX7ewY+xv6X1po/Cb0RRfFg5LOCzxm4/DKLarU8lspC3sKX0dUZjjuxe kn2AX/3ZtkCgMZm0KOHfHX X-Google-Smtp-Source: APXvYqxtDywIfKynuRE3KezVu63PjyoF5WDutmE+sqbhtCq4o341HUpSq1ZrtY8+fOB9vlXyCRphjg== X-Received: by 2002:a63:785:: with SMTP id 127mr72062826pgh.230.1558353328372; Mon, 20 May 2019 04:55:28 -0700 (PDT) Received: from osaka.octopusnet (p5196169-ipngn11402marunouchi.tokyo.ocn.ne.jp. [153.163.130.169]) by smtp.gmail.com with ESMTPSA id z14sm22170577pfk.73.2019.05.20.04.55.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 May 2019 04:55:27 -0700 (PDT) Subject: Re: pldbgapi error To: Prakash Ramakrishnan , "pgsql-generallists.postgresql.org" References: From: Ian Barwick Message-ID: Date: Mon, 20 May 2019 20:55:24 +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 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. Regards Ian Barwick -- Ian Barwick https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services