From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Julien Rouhaud <rjuju123@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Curious test case added by collation version tracking patch
Date: Mon, 12 Apr 2021 18:47:04 -0400
Message-ID: <3048706.1618267624@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+hUKG+A4TfdpJGH=WTZcN9ej-BBHY+TXdcwkDEsVOQOfgUeCg@mail.gmail.com>
References: <3044030.1618261159@sss.pgh.pa.us>
<CA+hUKG+A4TfdpJGH=WTZcN9ej-BBHY+TXdcwkDEsVOQOfgUeCg@mail.gmail.com>
Thomas Munro <thomas.munro@gmail.com> writes:
> On Tue, Apr 13, 2021 at 8:59 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> The reason I ask is that this case started failing after I fixed
>> a parse_coerce.c bug that allowed a CollateExpr node to survive
>> in this WHERE expression, which by rights it should not. I'm
>> inclined to think that the test case is wrong and should be removed,
>> but maybe there's some reason to have a variant of it.
> Indeed, this doesn't do anything useful, other than prove that we
> record a collation dependency where it is (uselessly) allowed in an
> expression. Since you're not going to allow that anymore, it should
> be dropped.
OK, I'll go clean it up. Thanks!
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, thomas.munro@gmail.com, rjuju123@gmail.com
Subject: Re: Curious test case added by collation version tracking patch
In-Reply-To: <3048706.1618267624@sss.pgh.pa.us>
References: <3044030.1618261159@sss.pgh.pa.us> <CA+hUKG+A4TfdpJGH=WTZcN9ej-BBHY+TXdcwkDEsVOQOfgUeCg@mail.gmail.com> <3048706.1618267624@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox