public inbox for [email protected]
help / color / mirror / Atom feedFrom: Christophe Pettus <[email protected]>
To: Paolo De Stefani <[email protected]>
Cc: Psycopg <[email protected]>
Subject: Re: Query with boolean parameter
Date: Sat, 19 Mar 2022 09:35:08 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
> On Mar 19, 2022, at 05:10, Paolo De Stefani <[email protected]> wrote:
> Switching to psycopg 3 i have to consider many more differences than i expected
There have been some changes in the way psycopg2 does parameter substitution, although that one is an interesting case! You might consider using IS DISTINCT FROM as Daniele suggested, or just =, depending on how you want nulls handled.
view thread (7+ messages) latest in thread
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: Query with boolean parameter
In-Reply-To: <[email protected]>
* 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