Re: Protocol buffer support for Postgres

From: David Fetter <david(at)fetter(dot)org>
To: 陈天舟 <tianzhouchen(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Protocol buffer support for Postgres
Date: 2016-04-26 14:40:49
Message-ID: 20160426144049.GA21859@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Apr 25, 2016 at 11:06:11PM -0700, 陈天舟 wrote:
> I am interested in adding Protocol Buffer support for Postgres. Protocol
> Buffer occupies less space than JSON. More importantly, it has schema and
> is forward/backward compatible. All these make it a very good format for
> persistency.

Thanks for the idea. There are many different serializations, some of
which are listed below, each with their own qualities, which can be
good or bad with a very strong dependency on context:

https://en.wikipedia.org/wiki/Comparison_of_data_serialization_formats

Should we see about making a more flexible serialization
infrastructure? What we have is mostly /ad hoc/, and has already
caused real pain to the PostGIS folks, this even after some pretty
significant and successful efforts were made in this direction.

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christoph Berg 2016-04-26 15:13:39 Re: Getting Citus into (Debian) PGDG
Previous Message Pavel Stehule 2016-04-26 14:38:26 Re: plpgsql - DECLARE - cannot to use %TYPE or %ROWTYPE for composite types