Re: GSoC 2018: thrift encoding format - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: GSoC 2018: thrift encoding format
Date
Msg-id 20180503093914.GA27569@e733.localdomain
Whole thread Raw
In response to Re: GSoC 2018: thrift encoding format  (Charles Cui <charles.cui1984@gmail.com>)
Responses Re: GSoC 2018: thrift encoding format
List pgsql-hackers
Hello Charles,

> Thanks for your confirm Aleksander!
> Also I am thinking of how to deal with complex
> data structure like map, list, or set. I guess one possible
> solution is to get raw data bytes for these data structure?
> Otherwise it could be hard to wrap into a Datum.

Personally I think raw data bytes are OK if functions for getting all
keys and values from this data are provided. Another possibility is just
converting Thrift to JSONB and vise versa. In this case only two
procedures are required and all the rest is available out-of-the-box.

--
Best regards,
Aleksander Alekseev

Attachment

pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Anyone keep mirrors of old packages from apt.postgresql.org?
Next
From: Andrey Borodin
Date:
Subject: Re: GSOC 2018