Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#30331 closed Cleanup/optimization (fixed)

Add support for psycopg2 2.8+.

Reported by: Mariusz Felisiak Owned by: Mariusz Felisiak
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 by Mariusz Felisiak, 5 years ago

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

comment:2 by Nick Pope, 5 years ago

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

comment:3 by GitHub <noreply@…>, 5 years ago

Resolution: fixed
Status: assignedclosed

In 5efaf078:

Fixed #30331 -- Added support for psycopg2 2.8.

comment:4 by Mariusz Felisiak <felisiak.mariusz@…>, 5 years ago

In 54b65b83:

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

Backport of 5efaf078f7609a8c95045bcfdab0ba256b5449bf from master

comment:5 by GitHub <noreply@…>, 5 years ago

In 0a8617a5:

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

comment:6 by Mariusz Felisiak <felisiak.mariusz@…>, 5 years ago

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