Re: [GSoC Idea Discussion] "Thrift datatype support" Project

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: Bear Giles <bgiles(at)coyotesong(dot)com>
Cc: Udit Juneja <uditjuneja1(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [GSoC Idea Discussion] "Thrift datatype support" Project
Date: 2018-02-13 17:24:27
Message-ID: CAB=Je-H_FKqvv=5gT05spmdUWaCrRY-yf95UXFhePmXm9A3mTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-02-13 18:13:02 Re: Converting plpgsql to use DTYPE_REC for named composite types
Previous Message Shay Rojansky 2018-02-13 17:13:09 Re: Cached/global query plans, autopreparation