Re: explain format json, unit for serialize and memory are different. - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: explain format json, unit for serialize and memory are different.
Date
Msg-id ZkQIfS7X7OAd4mXx@paquier.xyz
Whole thread Raw
In response to Re: explain format json, unit for serialize and memory are different.  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: explain format json, unit for serialize and memory are different.
List pgsql-hackers
On Wed, May 15, 2024 at 02:01:21AM +1200, David Rowley wrote:
> Yeah, I missed that. Here's another patch.
>
> Thanks for looking.

Thanks for bringing in a patch that makes the whole picture more
consistent across the board.  When it comes to MEMORY, I can get
behind your suggestion to use kB and call it a day, while SERIALIZE
would apply the same conversion at 1023b.

It would be nice to document the units implied in the non-text
formats, rather than have the users guess what these are.

Perhaps Alvaro and Tom would like to chime in, as committers of
respectively 5de890e3610d and 06286709ee06?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: First draft of PG 17 release notes
Next
From: Bruce Momjian
Date:
Subject: Re: First draft of PG 17 release notes