Re: handling unconvertible error messages - Mailing list pgsql-hackers

From Vladimir Sitnikov
Subject Re: handling unconvertible error messages
Date
Msg-id CAB=Je-E+FJ7JMN-fjSZg9g7dRKP_qraH3CbwVtDMuTd6W+Co4g@mail.gmail.com
Whole thread Raw
In response to Re: handling unconvertible error messages  (Victor Wagner <vitus@wagner.pp.ru>)
List 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

pgsql-hackers by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Slowness of extended protocol
Next
From: Andrew Gierth
Date:
Subject: Re: No longer possible to query catalogs for index capabilities?