Re: explain format json, unit for serialize and memory are different.

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: explain format json, unit for serialize and memory are different.
Дата
Msg-id CAApHDvrCEkkophSFuC=wRpxa9x=MDDDB_O1wVsB+oKhb-8aMpw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: explain format json, unit for serialize and memory are different.  (jian he <jian.universality@gmail.com>)
Ответы Re: explain format json, unit for serialize and memory are different.
Список pgsql-hackers
On Wed, 15 May 2024 at 01:18, jian he <jian.universality@gmail.com> wrote:
> else
> {
> ExplainPropertyInteger("Memory Used", "bytes",
>    mem_counters->totalspace - mem_counters->freespace,
>    es);
> ExplainPropertyInteger("Memory Allocated", "bytes",
>    mem_counters->totalspace, es);
> }
> }
>
> the "else" branch, also need to apply BYTES_TO_KILOBYTES marco?

Yeah, I missed that. Here's another patch.

Thanks for looking.

David

Вложения

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