BUG #18576: Using EXPLAIN (VERBOSE) in information_schema.element_types returns ERROR: failed to find plan for
The Post Office <noreply@postgresql.org>
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: vasiliy.boytsov@gmail.com
Date: 2024-08-07T15:48:01Z
Lists: pgsql-bugs
The following bug has been logged on the website: Bug reference: 18576 Logged by: Vasya B Email address: vasiliy.boytsov@gmail.com PostgreSQL version: 16.3 Operating system: Ubuntu 24.04 Description: From a clean DB, one can execute: EXPLAIN (VERBOSE) SELECT FROM information_schema.element_types WHERE object_type = 'TABLE'; Which returns: ERROR: failed to find plan for subquery ss While the expected result was a working query. W/O VERBOSE this query works.
Commits
-
Fix "failed to find plan for subquery/CTE" errors in EXPLAIN.
- b919a97a6cd2 18.0 landed
- 81a12a447753 17.0 landed
- 7408772de563 12.21 landed
- 3ad35d5022c9 13.17 landed
- 120dd033761d 14.14 landed
- 12010f414615 15.9 landed
- 03f679475d9a 16.5 landed
-
Make the upper part of the planner work by generating and comparing Paths.
- 3fc6e2d7f5b6 9.6.0 cited