From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | postgresql(at)zr40(dot)nl |
Subject: | BUG #17644: EXPLAIN VERBOSE fails on query with SEARCH BREADTH FIRST |
Date: | 2022-10-16 16:50:14 |
Message-ID: | 17644-3bd1f3036d6d7a16@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 17644
Logged by: Matthijs van der Vleuten
Email address: postgresql(at)zr40(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2022-10-16 21:05:59 | Re: BUG #17641: postgresql service persistently restarts because "could not open shared memory segment" |
Previous Message | Amit Kapila | 2022-10-16 05:05:17 | Re: WAL segments removed from primary despite the fact that logical replication slot needs it. |