Re: How to get updated psycopg2 library with pgAdmin

Dave Page <[email protected]> Mon, 18 Nov 2019 19:16:39 +0000
Newsgroups gmane.comp.db.postgresql.pgadmin
Message-ID <CA+OCxoyKe3s8q855HhpU6qTqtu+zDdpM7Qrb_ovpnp0_kUudgg@mail.gmail.com>
--00000000000050734f0597a3ca23
Content-Type: text/plain; charset="UTF-8"

Hi

On Mon, Nov 18, 2019 at 5:32 PM Finzel, Jeremy <[email protected]> wrote:

> We are facing a lot of issues with the 64 bit OID bug in psycopg2, as
> described here: https://github.com/psycopg/psycopg2/issues/961
>
> I understand this fix has been released, but we cannot seem to figure out
> how to get the latest version of psycopg2 packaged with pgAdmin.  Even
> installing the latest version, we still face the bug.
>
> Is there any general guidance on how to get the latest version of psycopg2
> to work with pgAdmin on both Mac and Windows?
>

Our builds (those done by the pgAdmin devs themselves, i.e. Windows, macOS,
Docker, Python wheel) will all pull the latest version of psycopg in their
build process. Psycopg2 2.8.4 was released on October 20th, so pgAdmin 4.15
should have it, but 4.14 will not.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--00000000000050734f0597a3ca23
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi</div><br><div class=3D"gmail_quote"><div dir=3D"lt=
r" class=3D"gmail_attr">On Mon, Nov 18, 2019 at 5:32 PM Finzel, Jeremy &lt;=
<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br></=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div=
>We are facing a lot of issues with the 64 bit OID bug in psycopg2, as desc=
ribed here:=C2=A0<a href=3D"https://github.com/psycopg/psycopg2/issues/961"=
 target=3D"_blank">https://github.com/psycopg/psycopg2/issues/961</a></div>=
<div><br></div><div>I understand this fix has been released, but we cannot =
seem to figure out how to get the latest version of psycopg2 packaged with =
pgAdmin.=C2=A0 Even installing the latest version, we still face the bug.</=
div><div><br></div><div>Is there any general guidance on how to get the lat=
est version of psycopg2 to work with pgAdmin on both Mac and Windows?<br></=
div></div></blockquote><div><br></div><div>Our builds (those done by the pg=
Admin devs themselves, i.e. Windows, macOS, Docker, Python wheel) will all =
pull the latest version of psycopg in their build process. Psycopg2 2.8.4 w=
as released on October 20th, so pgAdmin 4.15 should have it, but 4.14 will =
not.</div></div><div><br></div>-- <br><div dir=3D"ltr" class=3D"gmail_signa=
ture">Dave Page<br>Blog: <a href=3D"http://pgsnake.blogspot.com" target=3D"=
_blank">http://pgsnake.blogspot.com</a><br>Twitter: @pgsnake<br><br>Enterpr=
iseDB UK: <a href=3D"http://www.enterprisedb.com" target=3D"_blank">http://=
www.enterprisedb.com</a><br>The Enterprise PostgreSQL Company<br></div></di=
v>

--00000000000050734f0597a3ca23--