explain analyze rows=%.0f

Поиск
Список
Период
Сортировка
От Robert Haas
Тема explain analyze rows=%.0f
Дата
Msg-id 603c8f070905281830g2e5419c4xad2946d149e21f9d@mail.gmail.com
обсуждение исходный текст
Ответы Re: explain analyze rows=%.0f  (Euler Taveira de Oliveira <euler@timbira.com>)
Список pgsql-hackers
I have always assumed that there is some very good reason why EXPLAIN
ANALYZE reports the number of rows as an integer rather than a
floating point value, but in reading explain.c it seems that the
reason is just that we decided to round to zero decimal places.  Any
chance we could reconsider this decision?  I often find myself wanting
to know the value that is here called ntuples, but rounding
ntuples/nloops off to the nearest integer loses too much precision.

(Before someone mentions it, yes that would be a good thing to include
in XML-formatted explain output.  But I don't see that including a
couple of decimal places would hurt the text output format either.)

...Robert


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: bytea vs. pg_dump
Следующее
От: Greg Smith
Дата:
Сообщение: Re: pg_migrator and an 8.3-compatible tsvector data type