bug in handling Postgres bytea type? - Mailing list psycopg

From Christopher Bader
Subject bug in handling Postgres bytea type?
Date
Msg-id CAKvpR7Od=NU2yi=sOf5wiaKU1A+v_T2GJ8+JDdzE1yABFPwyYA@mail.gmail.com
Whole thread Raw
Responses Re: bug in handling Postgres bytea type?  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List psycopg
I'm having problems reading bytea fields with psycopg2.

Reading a bytea field with cursor.fetchall yields a memoryview object, not a bytes or bytearray object, and even when the object is explicitly converted to bytes or bytearray, the result is not correct.

Christopher Bader
Staff Data Scientist
Zscaler

psycopg by date:

Previous
From: Brian M Hamlin
Date:
Subject: Re: Parquet support
Next
From: Daniele Varrazzo
Date:
Subject: Re: bug in handling Postgres bytea type?