pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: pldbgapi extension
Date: Tue, 17 Sep 2019 06:40:49 -0700
Message-ID: <aee471fa-b688-190c-e28d-c4183185c966@aklaver.com> (raw)
In-Reply-To: <CAA2eZXxKw8q5GzYTcuarnbynheUqNbFSX_7a8FshgUYzp1OWmA@mail.gmail.com>
References: <CAA2eZXxKw8q5GzYTcuarnbynheUqNbFSX_7a8FshgUYzp1OWmA@mail.gmail.com>

On 9/16/19 11:51 PM, Prakash Ramakrishnan wrote:
> Hi Team,
> 
> 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,
> 
> How to create this one please advise

Questions:

1) OS and version?

2) How was Postgres installed?

3) How about symlinking /usr/share/pgsql/extension into 
/usr/pgsql-11/share/extension/?


> 
> ==> psql
> psql (11.5)
> Type "help" for help.
> 
> postgres=# CREATE EXTENSION pldbgapi;
> ERROR:  could not open extension control file 
> *"/usr/pgsql-11/share/extension/*pldbgapi.control": No such file or 
> directory
> postgres=#
> postgres=#
> postgres=# \q
> 
> [root@cvgrhehhsd006 pldebugger-master]# export 
> PATH=$PGHOME/bin:$PATH:$HOME/.local/bin:$HOME/bin:$PGBASE/edbmtk/bin:/usr/pgsql-11/bin
> [root@cvgrhehhsd006 pldebugger-master]#  make USE_PGXS=1
> make: Nothing to be done for `all'.
> [root@cvgrhehhsd006 pldebugger-master]#
> [root@cvgrhehhsd006 pldebugger-master]# make install USE_PGXS=1
> /usr/bin/mkdir -p '/usr/lib64/pgsql'
> /usr/bin/mkdir -p '/usr/share/pgsql/extension'
> /usr/bin/mkdir -p '/usr/share/pgsql/extension'
> /usr/bin/mkdir -p '/usr/share/doc/pgsql/extension'
> /bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c 
> -m 755  plugin_debugger.so '/usr/lib64/pgsql/plugin_debugger.so'
> /bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c 
> -m 644 ./pldbgapi.control '/usr/share/pgsql/extension/'
> /bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c 
> -m 644 ./pldbgapi--1.0.sql ./pldbgapi--unpackaged--1.0.sql 
>   '/usr/share/pgsql/extension/'
> /bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c 
> -m 644 ./README.pldebugger '/usr/share/doc/pgsql/extension/'
> [root@cvgrhehhsd006 pldebugger-master]#
> [root@cvgrhehhsd006 pldebugger-master]# cd /usr/share/pgsql/extension
> [root@cvgrhehhsd006 extension]# ls
> pldbgapi--1.0.sql  pldbgapi.control  pldbgapi--unpackaged--1.0.sql
> [root@cvgrhehhsd006 extension]# ll
> total 16
> -rw-r--r--. 1 root root 7457 Sep 17 02:46 pldbgapi--1.0.sql
> -rw-r--r--. 1 root root  181 Sep 17 02:46 pldbgapi.control
> -rw-r--r--. 1 root root 2258 Sep 17 02:46 pldbgapi--unpackaged--1.0.sql
> 
> -- 
> Thanks,
> Prakash.R
> PostgreSQL - Offshore DBA support TCS / Nielsen Infrastructure Team On 
> call : +91-8939599426


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (10+ messages)  latest in thread

Message-ID: <aee471fa-b688-190c-e28d-c4183185c966@aklaver.com>
Permalink:  ../aee471fa-b688-190c-e28d-c4183185c966@aklaver.com/
Also on:    postgresql.org/message-id/aee471fa-b688-190c-e28d-c4183185c966@aklaver.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: adrian.klaver@aklaver.com, prakash.ramakrishnan.ap@nielsen.com
  Subject: Re: pldbgapi extension
  In-Reply-To: <aee471fa-b688-190c-e28d-c4183185c966@aklaver.com>
  References: <CAA2eZXxKw8q5GzYTcuarnbynheUqNbFSX_7a8FshgUYzp1OWmA@mail.gmail.com> <aee471fa-b688-190c-e28d-c4183185c966@aklaver.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