Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#30331 closed Cleanup/optimization (fixed)

Add support for psycopg2 2.8+.

Reported by: felixxm Owned by: felixxm
Component: Database layer (models, ORM) Version: 2.2
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Database introspection crashes with Psycopg 2.8+ due to this change

Changed in version 2.8: columns descriptions are instances of Column, exposing extra attributes.

in the cursor.description (see documentation).

Change History (6)

comment:1 Changed 7 months ago by felixxm

Has patch: set
Summary: Add suppor for Psycopg 2.8+.Add suppor for psycopg2 2.8+.

comment:2 Changed 7 months ago by Nick Pope

Summary: Add suppor for psycopg2 2.8+.Add support for psycopg2 2.8+.

comment:3 Changed 7 months ago by GitHub <noreply@…>

Resolution: fixed
Status: assignedclosed

In 5efaf078:

Fixed #30331 -- Added support for psycopg2 2.8.

comment:4 Changed 7 months ago by Mariusz Felisiak <felisiak.mariusz@…>

In 54b65b83:

[2.2.x] Fixed #30331 -- Added support for psycopg2 2.8.

Backport of 5efaf078f7609a8c95045bcfdab0ba256b5449bf from master

comment:5 Changed 7 months ago by GitHub <noreply@…>

In 0a8617a5:

[2.1.x] Refs #30331 -- Doc'd that psycopg2 < 2.8 is required.

comment:6 Changed 7 months ago by Mariusz Felisiak <felisiak.mariusz@…>

In d13490c:

[1.11.x] Refs #30331 -- Doc'd that psycopg2 < 2.8 is required.

Backport of 0a8617a5b1cac7063f30e4d8ff4ea4c30748f7b8 from stable/2.1.x.

Note: See TracTickets for help on using tickets.
Back to Top