public inbox for [email protected]  
help / color / mirror / Atom feed
From: David Rowley <[email protected]>
To: Melanie Plageman <[email protected]>
Cc: Alexander Korotkov <[email protected]>
Cc: [email protected]
Cc: PostgreSQL Hackers <[email protected]>
Subject: Re: pgsql: Convert 'x IN (VALUES ...)' to 'x = ANY ...' then appropriate
Date: Mon, 7 Apr 2025 21:15:03 +1200
Message-ID: <CAApHDvryXfsJO1HUWqcQTBBxdSJDwrotnZFt7sSL-ddZ+g+f5Q@mail.gmail.com> (raw)
In-Reply-To: <CAAKRu_bFn5xis9gugrnU3N8O6NN8WYncv5NedHfv3J65m_RZ8w@mail.gmail.com>
References: <[email protected]>
	<CAAKRu_bFn5xis9gugrnU3N8O6NN8WYncv5NedHfv3J65m_RZ8w@mail.gmail.com>

On Mon, 7 Apr 2025 at 19:39, Melanie Plageman <[email protected]> wrote:
> +++ C:/cirrus/build/testrun/pg_upgrade/002_pg_upgrade/data/results/subselect.out
> 2025-04-04 14:47:20.358393500 +0000
> @@ -2769,15 +2769,16 @@
>  EXPLAIN (COSTS OFF)
>  SELECT c.oid,c.relname FROM pg_class c JOIN pg_am a USING (oid)
>  WHERE c.oid IN (VALUES (1), (2));
> -                          QUERY PLAN
> ----------------------------------------------------------------
> - Hash Join
> -   Hash Cond: (a.oid = c.oid)
> -   ->  Seq Scan on pg_am a
> -   ->  Hash
> -         ->  Index Scan using pg_class_oid_index on pg_class c
> -               Index Cond: (oid = ANY ('{1,2}'::oid[]))
> -(6 rows)
> +                       QUERY PLAN
> +---------------------------------------------------------
> + Merge Join
> +   Merge Cond: (c.oid = a.oid)
> +   ->  Index Scan using pg_class_oid_index on pg_class c
> +         Index Cond: (oid = ANY ('{1,2}'::oid[]))
> +   ->  Sort
> +         Sort Key: a.oid
> +         ->  Seq Scan on pg_am a
> +(7 rows)

Are these failures from patches applied to master prior to 3ba2cdaa?

David





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], [email protected], [email protected], [email protected]
  Subject: Re: pgsql: Convert 'x IN (VALUES ...)' to 'x = ANY ...' then appropriate
  In-Reply-To: <CAApHDvryXfsJO1HUWqcQTBBxdSJDwrotnZFt7sSL-ddZ+g+f5Q@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