Re: Show estimated number of groups for IncrementalSort in EXPLAIN - Mailing list pgsql-hackers

From Enrique Sánchez
Subject Re: Show estimated number of groups for IncrementalSort in EXPLAIN
Date
Msg-id CAOCkzAkUgZSDHeR30p1u=wa4rZrLy+yAbFiqqN-4XadKBb=jug@mail.gmail.com
Whole thread
Responses Re: Show estimated number of groups for IncrementalSort in EXPLAIN
List pgsql-hackers
Hi, thanks for working on this.

On 10/06/26 17:50, Ilia Evdokimov wrote:

   Estimated Groups: 100

I think it's useful to know the estimated number of groups to understand why the planner chooses IncrementalSort. The patch looks clean.

There are no tests for this change, although it should be safe, you might want to consider adding one to `src/test/regress/sql/incremental_sort.sql`.

Best regards,
Enrique.

pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: use of SPI by postgresImportForeignStatistics
Next
From: Robert Haas
Date:
Subject: Re: use of SPI by postgresImportForeignStatistics