pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: postgresql@zr40.nl
Subject: BUG #17644: EXPLAIN VERBOSE fails on query with SEARCH BREADTH FIRST
Date: Sun, 16 Oct 2022 16:50:14 +0000
Message-ID: <17644-3bd1f3036d6d7a16@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      17644
Logged by:          Matthijs van der Vleuten
Email address:      postgresql@zr40.nl
PostgreSQL version: 14.5
Operating system:   Debian 11.5
Description:        

The following query causes EXPLAIN VERBOSE to raise an error.

EXPLAIN VERBOSE
WITH RECURSIVE test AS (
  SELECT 1 AS x
  UNION ALL
  SELECT x+1
  FROM test
) SEARCH BREADTH FIRST BY x SET y
SELECT * FROM test LIMIT 10;

ERROR:  record type has not been registered

EXPLAIN without VERBOSE, and the query itself, do not raise an error. Also,
the error does not appear when using SEARCH DEPTH FIRST.

Reproduced on 14.5 and 15.0.



view thread (2+ messages)  latest in thread

Message-ID: <17644-3bd1f3036d6d7a16@postgresql.org>
Permalink:  ../17644-3bd1f3036d6d7a16@postgresql.org/
Also on:    postgresql.org/message-id/17644-3bd1f3036d6d7a16@postgresql.org

 · 

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: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, postgresql@zr40.nl
  Subject: Re: BUG #17644: EXPLAIN VERBOSE fails on query with SEARCH BREADTH FIRST
  In-Reply-To: <17644-3bd1f3036d6d7a16@postgresql.org>

* 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