Re: Using composite types in psycopg3

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: Vladimir Ryabtsev <greatvovan(at)gmail(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: Using composite types in psycopg3
Date: 2020-11-11 00:48:17
Message-ID: CA+mi_8ZL0W58C4d2-r9+mFEejWWdNJskp3s67usBD-ChShNiMQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On Wed, 11 Nov 2020 at 00:36, Vladimir Ryabtsev <greatvovan(at)gmail(dot)com> wrote:
>
> Awesome, thanks.
>
> It would be great if it worked out of the box, as in other drivers.

I do agree.

I have much more experience with the text format, and in my
understanding not all the types support binary I/O. But my
understanding could be wrong.

After covering the binary format for the missing types (especially
numeric and date/time objects) we can probably do more testing and
check if defaulting to the binary format doesn't have unexpected
consequences.

Cheers!

-- Daniele

In response to

Browse psycopg by date

  From Date Subject
Next Message Oleksandr Shulgin 2020-11-11 08:30:08 Re: psycopg is the new psycopg3?
Previous Message Vladimir Ryabtsev 2020-11-11 00:35:57 Re: Using composite types in psycopg3