Re: explain analyze rows=%.0f

Поиск
Список
Период
Сортировка
От Ibrar Ahmed
Тема Re: explain analyze rows=%.0f
Дата
Msg-id CALtqXTcZE6YW=m9ZmNU6sRJ+RTC15NFc__foP1S2KaWvGOf6JA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: explain analyze rows=%.0f  ("Gregory Stark (as CFM)" <stark.cfm@gmail.com>)
Ответы Re: explain analyze rows=%.0f  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers


On Mon, Mar 20, 2023 at 7:56 PM Gregory Stark (as CFM) <stark.cfm@gmail.com> wrote:
On Wed, 4 Jan 2023 at 10:05, Ibrar Ahmed <ibrar.ahmad@gmail.com> wrote:
>
> Thanks, I have modified everything as suggested, except one point
>
> > Don't use variable format strings. They're hard to read and they
> > probably defeat compile-time checks that the arguments match the
> > format string. You could use a "*" field width instead, ie
...
> > * Another thought is that the non-text formats tend to prize output
> > consistency over readability, so maybe we should just always use 2
> > fractional digits there, rather than trying to minimize visible changes.
>
> In that, we need to adjust a lot of test case outputs.

> > * We need some doc adjustments, surely, to explain what the heck this
> > means.

That sounds like three points :) But they seem like pretty good
arguments to me and straightforward if a little tedious to adjust.

This patch was marked Returned with Feedback and then later Waiting on
Author. And it hasn't had any updates since January. What is the state
on this feedback? If it's already done we can set the patch to Ready
for Commit and if not do you disagree with the proposed changes?

If there is a consensus to modify the test cases' output, I am willing to
make the necessary changes and adjust the patch accordingly. However,
if there is a preference to keep the output of certain test cases unchanged,
I can rebase and modify the patch accordingly to accommodate those preferences.


 
It's actually the kind of code cleanup changes I'm reluctant to bump a
patch for. It's not like a committer can't make these kinds of changes
when committing. But there are so many patches they're likely to just
focus on a different patch when there are adjustments like this
pending.

--
Gregory Stark
As Commitfest Manager


--
Ibrar Ahmed

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

Предыдущее
От: Russell Foster
Дата:
Сообщение: Postgres v15 windows bincheck regression test failures
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Let's make PostgreSQL multi-threaded