Re: Expose custom planning data in EXPLAIN

2025-09-18 Thread Andrei Lepikhov
On 9/9/2025 17:32, Robert Haas wrote: On Wed, Aug 13, 2025 at 9:51 AM Andrei Lepikhov wrote: This seems quite closely related to what I propose here: http://postgr.es/m/ca+tgmoyxfg90rw13+jcywn4dwsc+agw7o8-a+fa3m0fh96p...@mail.gmail.com I'd say it is another viewpoint (mostly opposite) of the f

Re: Expose custom planning data in EXPLAIN

2025-09-09 Thread Robert Haas
On Wed, Aug 13, 2025 at 9:51 AM Andrei Lepikhov wrote: > It appears that the only two changes required to enable the feature are > a hook and a field in the Plan node. In this patch, I have chosen to add > the hook to the copy_generic_path_info routine to limit its usage for > tracking purposes on

Expose custom planning data in EXPLAIN

2025-08-13 Thread Andrei Lepikhov
Hi, Background and motivation - This feature is inspired by the pg_overexplain, new EXPLAIN-related hooks and recent change of the Memoize node representation (4bc62b86849). Based on user reports from the production system, we typically receive no more than an 'explai