Thread: Psycopg 2.8.1, 2.8.2 released

Psycopg 2.8.1, 2.8.2 released

From
Daniele Varrazzo
Date:
Hello,

We have just released Psycopg 2.8.2; a few days ago Psycopg 2.8.1 was released.

Some of the bugs addressed are ordinary teething problem with the 2.8
release, but an important change landed with 2.8.2: binary packages
now ship with OpenSSL 1.1 instead of 1.0. This should fix concurrency
problems on connection experienced both on Windows and Linux. Many
thanks to Matthew Brett and Jason Erickson for this improvement!

The combined list of changes is:

- Fixed "there's no async cursor" error polling a connection with no cursor
  (ticket #887).
- Fixed 'RealDictCursor' when there are repeated columns (ticket #884).
- Fixed 'RealDictRow' modifiability (ticket #886).
- Binary packages built with openssl 1.1.1b. Should fix concurrency problems
  (tickets #543, #836).

Happy hacking!


----

Psycopg is the most popular PostgreSQL adapter for the Python
programming language. At its core it fully implements the Python DB
API 2.0 specifications. Several extensions allow access to many of the
features offered by PostgreSQL.



Re: Psycopg 2.8.1, 2.8.2 released

From
Karsten Hilbert
Date:
On Sun, Apr 14, 2019 at 06:42:26PM +0100, Daniele Varrazzo wrote:

> We have just released Psycopg 2.8.2; a few days ago Psycopg 2.8.1 was released.

Many thanks.

> - Fixed 'RealDictCursor' when there are repeated columns (ticket #884).

How ?

I ask because (to me) there's no immediately obvious solution
to that.

Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B



Re: Psycopg 2.8.1, 2.8.2 released

From
Rich Shepard
Date:
On Sun, Apr 14, 2019 at 06:42:26PM +0100, Daniele Varrazzo wrote:
>
> We have just released Psycopg 2.8.2; a few days ago Psycopg 2.8.1 was
> released.

Daniele,

2.8.2 is not yet available on the web site, only 2.8.1. I'll try later
today.

Regards,

Rich




Re: Psycopg 2.8.1, 2.8.2 released

From
Rich Shepard
Date:
On Sun, 14 Apr 2019, Rich Shepard wrote:

> 2.8.2 is not yet available on the web site, only 2.8.1. I'll try later
> today.

Later has arrived. :-)

Thanks!

Rich



Re: Psycopg 2.8.1, 2.8.2 released

From
Daniele Varrazzo
Date:
On Sun, Apr 14, 2019 at 6:52 PM Karsten Hilbert <Karsten.Hilbert@gmx.net> wrote:

> > - Fixed 'RealDictCursor' when there are repeated columns (ticket #884).
>
> How ?

The problem was only that the result of 'select 1 as a, 2 as a' would
have been an object in an inconsistent state (bug introduced in 2.8.1
to fix the other, #886, which was caused by actually calling the
superclass constructor right) . Now the state is consistent... it's
arbitrary but hey. Can't fix the users, only the cursor.


-- Daniele



Re: Psycopg 2.8.1, 2.8.2 released

From
Karsten Hilbert
Date:
On Sun, Apr 14, 2019 at 07:19:28PM +0100, Daniele Varrazzo wrote:

> > > - Fixed 'RealDictCursor' when there are repeated columns (ticket #884).

> Now the state is consistent... it's
> arbitrary but hey. Can't fix the users, only the cursor.

Ah, OK, I see :-)

Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B