pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
create extension points to the wrong directory
3+ messages / 3 participants
[nested] [flat]

* create extension points to the wrong directory
@ 2019-06-28 23:41  Benedict Holland <benedict.m.holland@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Benedict Holland @ 2019-06-28 23:41 UTC (permalink / raw)
  To: pgsql-general

Hello all,

I really can't figure this one out. I am trying to get debug working on a
postgrseql 10 database on ubuntu. I installed the proper package
postgresql-10-pldebugger*. *When I go to create the extention, I get the
error:

create extension pldbgapi
ERROR: could not open extension control file
"/usr/share/postgresql/9.5/extension/pldbgapi.control": No such file or
directory

Which is true because it is in
/usr/share/postgrseql/10/extension/pldbgapi.control. I am trying to run
this command in pgadmin4. I am stuck. There doesn't seem to be a
configuration option. Any ideas?

Thanks,
~Ben

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: create extension points to the wrong directory
@ 2019-06-28 23:52  Rob Sargent <robjsargent@gmail.com>
  parent: Benedict Holland <benedict.m.holland@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Rob Sargent @ 2019-06-28 23:52 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org


On 6/28/19 5:41 PM, Benedict Holland wrote:
> Hello all,
>
> I really can't figure this one out. I am trying to get debug working 
> on a postgrseql 10 database on ubuntu. I installed the proper package 
> postgresql-10-pldebugger*. *When I go to create the extention, I get 
> the error:
>
> create extension pldbgapi
> ERROR: could not open extension control file 
> "/usr/share/postgresql/9.5/extension/pldbgapi.control": No such file 
> or directory
> Which is true because it is in 
> /usr/share/postgrseql/10/extension/pldbgapi.control. I am trying to 
> run this command in pgadmin4. I am stuck. There doesn't seem to be a 
> configuration option. Any ideas?
>
> Thanks,
> ~Ben


Kinda late in the day so most of the pros might not see this.

maybe uninstall postgresql-9.5

Can you try same create extension from psql directly?

select version(); ? version 10

select * from pg_settings where name ~ 'dir';

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: create extension points to the wrong directory
@ 2019-06-29 00:01  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Benedict Holland <benedict.m.holland@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Adrian Klaver @ 2019-06-29 00:01 UTC (permalink / raw)
  To: Benedict Holland <benedict.m.holland@gmail.com>; pgsql-general

On 6/28/19 4:41 PM, Benedict Holland wrote:
> Hello all,
> 
> I really can't figure this one out. I am trying to get debug working on 
> a postgrseql 10 database on ubuntu. I installed the proper package 
> postgresql-10-pldebugger*. *When I go to create the extention, I get the 
> error:
> 
> create extension pldbgapi
> ERROR: could not open extension control file 
> "/usr/share/postgresql/9.5/extension/pldbgapi.control": No such file or 
> directory

Are you doing this in the 9.5 instance instead of the 10 instance?

In other words what does(in psql):

select version();

show?


> 
> Which is true because it is in 
> /usr/share/postgrseql/10/extension/pldbgapi.control. I am trying to run 
> this command in pgadmin4. I am stuck. There doesn't seem to be a 
> configuration option. Any ideas?
> 
> Thanks,
> ~Ben


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2019-06-29 00:01 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-06-28 23:41 create extension points to the wrong directory Benedict Holland <benedict.m.holland@gmail.com>
2019-06-28 23:52 ` Rob Sargent <robjsargent@gmail.com>
2019-06-29 00:01 ` Adrian Klaver <adrian.klaver@aklaver.com>

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