public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: Schema-qualify the equality operator when deparsing NULLIF/IS DISTINCT FROM
Date: Tue, 07 Jul 2026 10:27:24 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <66fa3fe6-8c99-4120-935c-f32f3b61fc30@Spark>
References: <028117fa-439b-4762-b647-130bc19df89c@Spark>
<[email protected]>
<66fa3fe6-8c99-4120-935c-f32f3b61fc30@Spark>
[email protected] writes:
> Attached is v2, which takes the opposite approach: instead of teaching
> the deparser to avoid the constructs, it gives every construct that
> resolves an operator by unqualified name a place to write a
> schema-qualified one. That covers the full list you cataloged back in
> 2018 ([email protected]) -- IS [NOT] DISTINCT FROM,
> NULLIF, simple CASE, row comparisons, ANY/ALL subquery comparisons --
> plus JOIN USING / NATURAL JOIN, which has the same disease.
I didn't read the patch yet, but this sounds promising.
> If the direction looks right I will register this in the next
> commitfest (PG 20-1).
Next one is already 20-2, but please do register it.
regards, tom lane
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], [email protected]
Subject: Re: Schema-qualify the equality operator when deparsing NULLIF/IS DISTINCT FROM
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