Re: explain analyze rows=%.0f

Поиск
Список
Период
Сортировка
От Ilia Evdokimov
Тема Re: explain analyze rows=%.0f
Дата
Msg-id db14cd95-f00d-4824-aebb-81c7e5a7ca08@tantorlabs.com
обсуждение исходный текст
Ответ на Re: explain analyze rows=%.0f  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: explain analyze rows=%.0f
Список pgsql-hackers
Hi,

In the stats_ext regression test, there is a function 
check_estimated_rows that returns actual rows as an integer. Currently, 
none of the test cases produce a non-zero fractional part in actual rows.

The question is: should this function be modified to return a fractional 
number instead of an integer?

Personally, I don’t see much value in doing so, because the purpose of 
the test is to compare the estimated row count with the actual number of 
rows. It is also unlikely that there will be test cases where loops > 1, 
and the presence of a fractional part does not change the essence of the 
test.

What do you think?

--
Best regards,
Ilia Evdokimov,
Tantor Labs LLC.




В списке pgsql-hackers по дате отправления: