pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: PGAdmin4.11.1 on Ubuntu 18.04
Date: Thu, 1 Aug 2019 10:34:44 -0500
Message-ID: <4017c72d-06d2-932e-138d-94088c58688f@gmail.com> (raw)
In-Reply-To: <CAG0dhZDAF8yq9hj1UvHuE3kXX5Winqj7sB3Ge6so3KhFF20HSg@mail.gmail.com>
References: <CAG0dhZBV2krLp+v-NFNJtfV-ifTN5aOUXS29DAvwxmUHHMcXaQ@mail.gmail.com>
	<60b0d698-1157-5212-2fa6-da69dd1354b6@aklaver.com>
	<CAG0dhZC-1_0zMBxphDv=29scQj7HCBsJyPn=ZXWGPxiBPqsP3A@mail.gmail.com>
	<CAG0dhZDAF8yq9hj1UvHuE3kXX5Winqj7sB3Ge6so3KhFF20HSg@mail.gmail.com>

I think the real question is "how do I make pgadmin4 use the locally 
installed psycopg instead of the system version?"

On 8/1/19 10:32 AM, Tony Shelver wrote:
> The article at stackoverflow is here 
> <https://stackoverflow.com/questions/57226520/select-does-not-return-values-postgres-11-4;
>
> On Thu, 1 Aug 2019 at 17:28, Tony Shelver <tshelver@gmail.com 
> <mailto:tshelver@gmail.com>> wrote:
>
>     Thanks for the replies: the version is PG11.4.
>
>     As for needing to upgrade:  I just want to fix the problem.  This was
>     a working environment until I updated pgAdmin4.
>
>     The fix suggested on Stackoverflow was to move to psycopg2 2.8, but it
>     doesn't seem to be possible.
>
>     If there is another fix that anyone is aware of, I would love to know.
>
>     I tried to uninstall pgAdmin4, then install psycopg 2.8 via pip, then
>     reinstall pgadmoin4 again using the Synatpic / Ubunto package manager,
>     but it just installs pscopg2.7 over the top.
>
>     On Thu, 1 Aug 2019 at 16:50, Adrian Klaver <adrian.klaver@aklaver.com
>     <mailto:adrian.klaver@aklaver.com>> wrote:
>
>         On 8/1/19 7:39 AM, Tony Shelver wrote:
>         > I am getting an 'able oid' when querying any tables using the
>         Query tool.
>         > When using the view / edit data option, everything works fine.
>
>         Should have asked in previous post:
>
>         What Postgres version(s)?
>
>         >
>         > I came across this
>         > <<<
>         >
>         > The problem is due to python3-psycopg2. The latest pgadmin4 version
>         > requires psycopg2-2.8. But if you're on Debian/Ubuntu stable, apt
>         > installed v2.7. So you need to update it with pip :
>         >
>         > |sudo pip3 install -U psycopg2
>         >>>>
>         > |
>         >
>         > |The problem is that the upgrade to psycopg 2.8 doesn't work, as
>         it's
>         > installed as part of the dtsutils package along with pgadmin4.
>         >
>         > |
>         >
>         > |Any ideas?
>         > |
>         >
>
>
>         -- 
>         Adrian Klaver
>         adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
>

-- 
Angular momentum makes the world go 'round.

view thread (13+ messages)  latest in thread

Message-ID: <4017c72d-06d2-932e-138d-94088c58688f@gmail.com>
Permalink:  ../4017c72d-06d2-932e-138d-94088c58688f@gmail.com/
Also on:    postgresql.org/message-id/4017c72d-06d2-932e-138d-94088c58688f@gmail.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: ronljohnsonjr@gmail.com
  Subject: Re: PGAdmin4.11.1 on Ubuntu 18.04
  In-Reply-To: <4017c72d-06d2-932e-138d-94088c58688f@gmail.com>
  References: <CAG0dhZBV2krLp+v-NFNJtfV-ifTN5aOUXS29DAvwxmUHHMcXaQ@mail.gmail.com> <60b0d698-1157-5212-2fa6-da69dd1354b6@aklaver.com> <CAG0dhZC-1_0zMBxphDv=29scQj7HCBsJyPn=ZXWGPxiBPqsP3A@mail.gmail.com> <CAG0dhZDAF8yq9hj1UvHuE3kXX5Winqj7sB3Ge6so3KhFF20HSg@mail.gmail.com> <4017c72d-06d2-932e-138d-94088c58688f@gmail.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