Re: JsonPath version bits - Mailing list pgsql-hackers

From Nikita Malakhov
Subject Re: JsonPath version bits
Date
Msg-id CAN-LCVOGvA=4gTCW9FEj5k5rXNotPVjovd4_eEa8yhV1o7pr=Q@mail.gmail.com
Whole thread Raw
In response to JsonPath version bits  (Nikita Malakhov <hukutoc@gmail.com>)
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Request for comment on setting binary format output per session
Next
From: Robert Haas
Date:
Subject: Re: postgres_fdw, dblink, and CREATE SUBSCRIPTION security