Re: [GSoC Idea Discussion] "Thrift datatype support" Project - Mailing list pgsql-hackers

From Vladimir Sitnikov
Subject Re: [GSoC Idea Discussion] "Thrift datatype support" Project
Date
Msg-id CAB=Je-H_FKqvv=5gT05spmdUWaCrRY-yf95UXFhePmXm9A3mTg@mail.gmail.com
Whole thread Raw
In response to Re: [GSoC Idea Discussion] "Thrift datatype support" Project  (Bear Giles <bgiles@coyotesong.com>)
Responses Re: [GSoC Idea Discussion] "Thrift datatype support" Project  (Bear Giles <bgiles@coyotesong.com>)
List pgsql-hackers
Technically speaking, Thrift is "language-independent" serialization-deserialization format with clean approach to backward compatibility.

I think Thrift (or something like that) can be useful, as it can generate serializers/deserializers for lots of languages.
PostgreSQL's "binary" format is tied to the PostgreSQL and it has to be reimplemented for each and every client language.

"text" format is non-trivial as well (e.g. it is hard to get quoting right for structs, and text is server-locale-dependent)

Vladimir

pgsql-hackers by date:

Previous
From: Shay Rojansky
Date:
Subject: Re: Cached/global query plans, autopreparation
Next
From: Tom Lane
Date:
Subject: Re: Converting plpgsql to use DTYPE_REC for named composite types