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 1iAE4B-0006zX-Qw for pgsql-general@arkaria.postgresql.org; Tue, 17 Sep 2019 14:02:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iAE4A-0000RE-Ib for pgsql-general@arkaria.postgresql.org; Tue, 17 Sep 2019 14:02:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iAE4A-0000R4-8C for pgsql-general@lists.postgresql.org; Tue, 17 Sep 2019 14:02:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iAE43-0004sT-8M for pgsql-general@lists.postgresql.org; Tue, 17 Sep 2019 14:02:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x8HE2e2G032501; Tue, 17 Sep 2019 10:02:40 -0400 From: Tom Lane To: Prakash Ramakrishnan cc: "pgsql-generallists.postgresql.org" Subject: Re: pldbgapi extension In-reply-to: References: Comments: In-reply-to Prakash Ramakrishnan message dated "Tue, 17 Sep 2019 12:21:36 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32499.1568728960.1@sss.pgh.pa.us> Date: Tue, 17 Sep 2019 10:02:40 -0400 Message-ID: <32500.1568728960@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Prakash Ramakrishnan writes: > Not able to create the extension pldbgapi in cluster and if i run make and > make install it will going .sql file in /usr/share/pgsql/extension this > path but actually i need to create these files into below path, If you're building from source with intention to match an existing installation, you need to be sure you've configured with the same options the existing installation was built with. The output of the installation's "pg_config" program should help. When building an out-of-tree extension using PGXS, in theory the PGXS infrastructure should get this right for you, but maybe it isn't, or you missed out using it. regards, tom lane