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 1hh0fg-0007mm-PZ for pgsql-general@arkaria.postgresql.org; Fri, 28 Jun 2019 23:52:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hh0ff-00024n-9G for pgsql-general@arkaria.postgresql.org; Fri, 28 Jun 2019 23:52:47 +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 1hh0fe-00021Q-RS for pgsql-general@lists.postgresql.org; Fri, 28 Jun 2019 23:52:46 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hh0fc-0006iC-GO for pgsql-general@lists.postgresql.org; Fri, 28 Jun 2019 23:52:46 +0000 Received: by mail-pf1-x42a.google.com with SMTP id 19so3751596pfa.4 for ; Fri, 28 Jun 2019 16:52:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=AUul7E7o/yhGB+7EyvLOlnobI0sdGFBLitNbHvzd4VY=; b=u0DD2bLxllfPL2og5s2pV3t4KwjC+K5kDX2+72sF+R/5sesuXAslW6h/wpVgDvLCaC tc/4a+UU31g+TQNtkf0JTovgFmSaaJHP1pU7U/6bYjKictJeVLROVBlvrBIbyxt90HEX k1r/5EfaJOyO31l2iWC+sgxlQw5yMKWqpm0BDprugnCS4hKCwF4/dPCwoNeYyLkOREWw vRtfUvhDovm92DFkvOx6dnbzOScnzK7uNqJztsuyaFTZmjh87HscfqUJq3Ix+HdIpKTM HDfJ+pMtmEEbKPfd7SteHbGyA0ERwc5wJJaeHivEICuQvxjgONrBw59j1lbLYpudpsn0 zTVg== 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; bh=AUul7E7o/yhGB+7EyvLOlnobI0sdGFBLitNbHvzd4VY=; b=i8UnFgpDTzcYedvC9Az7+KviuZk7099pijNC0GvTBMo/Eadr7eFM2zUDV0VhexxSpC MIobrZE1pZ5zFRCOGA6s8EZ0a2/hB8gU31z36FcDTyOHSJpvQ49uZOuwns7XzokPyjTx 3V+2TBvlr7ryxtMOBo3MqZ0lvC110ONHyVACefPPutjJXwTVOwTafqsCtIUV/wUtp+WP h7cwiaSm40M/7UlV6W2w9cmTuHgZG3iX0HqHlkbmcR5T1ZRaus2GF+cWjawmIB9uCJii 3sP7NdSF8qVTAdQ/sM1V6hsWLLIb829xkAXqSX1kiR4k5RqYmQEQtAn3RbRpm2dMQk2S Dprw== X-Gm-Message-State: APjAAAV5U/wciK6V2h7b0rsuHqAxQt5Xp01QOYEv6Uo8EfUSLegazQqA aexjF9si6SYQms3XcPeBaDENnsX7tpI= X-Google-Smtp-Source: APXvYqydbK9tS4icrxa/pelwWOoMZQ4kIuUddAGZewSMJYcp2tAbxpWLRrK3QYNBiUFHHo7veOzOTA== X-Received: by 2002:a17:90a:25e6:: with SMTP id k93mr16497773pje.100.1561765961482; Fri, 28 Jun 2019 16:52:41 -0700 (PDT) Received: from [10.104.134.41] ([155.100.47.1]) by smtp.gmail.com with ESMTPSA id y22sm2791418pgj.38.2019.06.28.16.52.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Jun 2019 16:52:40 -0700 (PDT) Subject: Re: create extension points to the wrong directory To: pgsql-general@lists.postgresql.org References: From: Rob Sargent Message-ID: Date: Fri, 28 Jun 2019 17:52:39 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------D96A6E6498BC9D5343046ADF" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------D96A6E6498BC9D5343046ADF Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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'; --------------D96A6E6498BC9D5343046ADF Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit


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';


--------------D96A6E6498BC9D5343046ADF--