Re: explain analyze rows=%.0f

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: explain analyze rows=%.0f
Дата
Msg-id 3365160.1739385615@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: explain analyze rows=%.0f  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: explain analyze rows=%.0f
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I agree that showing 2 digits after the decimal point in all cases is
> not ideal, but I suggest that we take a practical approach. Figuring
> out dynamically what number of decimal digits to display in each case
> sounds complicated and we may spend a bunch of time arguing about the
> details of that and get nothing committed. If we just show 2 digits
> after the decimal point, it will not be perfect, but it will be 10^2
> times better than what we have now.

I was idly speculating yesterday about letting the Ryu code print
the division result, so that we get a variable number of digits.
Realistically, that'd probably result in many cases in more digits
than anybody wants, so it's not a serious proposal.  I'm cool with
the fixed-two-digits approach to start with.

            regards, tom lane



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