public inbox for [email protected]  
help / color / mirror / Atom feed
From: Daniele Varrazzo <[email protected]>
To: Vladimir Ryabtsev <[email protected]>
Cc: [email protected]
Subject: Re: Using composite types in psycopg3
Date: Wed, 11 Nov 2020 00:48:17 +0000
Message-ID: <CA+mi_8ZL0W58C4d2-r9+mFEejWWdNJskp3s67usBD-ChShNiMQ@mail.gmail.com> (raw)
In-Reply-To: <CAMqTPqmo=_Ev5R=0B93vgvxMf_RjiPkvJ_WqMEFbyK+Rx0MAsg@mail.gmail.com>
References: <CAMqTPqm7H4yVk0qGA8=TyTtVsNX88bo8x1BJkHc6vrOVYyW=RQ@mail.gmail.com>
	<CA+mi_8YNpi7a-OcWr3eWM4kRcCNPeapraSOif3yYCdTnxuuZwA@mail.gmail.com>
	<CAMqTPqmo=_Ev5R=0B93vgvxMf_RjiPkvJ_WqMEFbyK+Rx0MAsg@mail.gmail.com>

On Wed, 11 Nov 2020 at 00:36, Vladimir Ryabtsev <[email protected]> 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





view thread (4+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Using composite types in psycopg3
  In-Reply-To: <CA+mi_8ZL0W58C4d2-r9+mFEejWWdNJskp3s67usBD-ChShNiMQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox