Thread: JsonPath version bits

JsonPath version bits

From
Nikita Malakhov
Date:
Hi hackers!

I've got a question on the JsonPath header - currently the header size
is 4 bytes, where there are version and mode bits. Is there somewhere
a defined size of the version part? There are some extensions working
with JsonPath, and we have some too, thus it is important how many
bits is it possible to use to store a version value?

Thanks!

--
Regards,
Nikita Malakhov
Postgres Professional

Re: JsonPath version bits

From
Nikita Malakhov
Date:
Hi hackers!

Could the 1 byte from the JsonPath header be used to store version?
Or how many bits from the header could be used for the version value?

On Mon, Mar 27, 2023 at 12:54 PM Nikita Malakhov <hukutoc@gmail.com> wrote:
Hi hackers!

I've got a question on the JsonPath header - currently the header size
is 4 bytes, where there are version and mode bits. Is there somewhere
a defined size of the version part? There are some extensions working
with JsonPath, and we have some too, thus it is important how many
bits is it possible to use to store a version value?


--

Regards,
Nikita Malakhov
Postgres Professional
The Russian Postgres Company