Re: GUC_REPORT for protocol tunables was: Re: Optimize binary serialization format of arrays with fixed size elements

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, "A(dot)M(dot)" <agentm(at)themactionfaction(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: GUC_REPORT for protocol tunables was: Re: Optimize binary serialization format of arrays with fixed size elements
Date: 2012-01-25 10:10:13
Message-ID: 1327486213.732.2.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On tis, 2012-01-24 at 20:13 -0500, Tom Lane wrote:
> Yeah. In both cases, the (proposed) new output format is
> self-identifying *to clients that know what to look for*.
> Unfortunately it would only be the most anally-written pre-existing
> client code that would be likely to spit up on the unexpected
> variations. What's much more likely to happen, and did happen in the
> bytea case, is silent data corruption.

The problem in the bytea case is that the client libraries are written
to ignore encoding errors. No amount of protocol versioning will help
you in that case.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Kreen 2012-01-25 11:08:49 Re: GUC_REPORT for protocol tunables was: Re: Optimize binary serialization format of arrays with fixed size elements
Previous Message Oleg Bartunov 2012-01-25 10:01:47 Re: PgNext: CFP