Re: improve EXPLAIN for wide tables
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sami Imseih <samimseih@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2024-12-16T16:21:23Z
Lists: pgsql-hackers
Sami Imseih <samimseih@gmail.com> writes: > Looking further into this improvement, I started to question if it is > necessary to make columns unique for EXPLAIN purposes? Yes, otherwise references to them elsewhere in the plan will be ambiguous. It looks like your proposal tries to dodge that by unique-ifying in some cases but not others, which strikes me as a totally random and confusing thing to do. Is there any reason to think that 52c707483 wasn't a sufficient response to this issue? regards, tom lane
Commits
-
Skip useless calculation of join RTE column names during EXPLAIN.
- 7a80e381d16c 18.0 landed
-
Use a hash table to de-duplicate column names in ruleutils.c.
- 52c707483ce4 18.0 cited