Re: handling unconvertible error messages

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: handling unconvertible error messages
Date: 2016-08-13 14:14:24
Message-ID: CAB=Je-E+FJ7JMN-fjSZg9g7dRKP_qraH3CbwVtDMuTd6W+Co4g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Victor>It is not a client job to convert encodings.

Of course.

However, there is a vast amount of old PG versions deployed in the wild
that send wrong data to clients.

This indeed makes bad user experience, so it is worth doing 2 things:
1) Implement proper solution in further PostgreSQL versions (e.g. include
encoding name right into the error message).
2) Implement workaround for current drivers, so clients would get proper
error messages even when trying to connect to unpatched server.

Vladimir

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Gierth 2016-08-13 15:14:24 Re: No longer possible to query catalogs for index capabilities?
Previous Message Dave Cramer 2016-08-13 12:37:47 Re: Slowness of extended protocol