Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Denis Afonin <vadm(at)itkm(dot)ru>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions
Date: 2009-02-27 15:56:36
Message-ID: 19401.1235750196@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> writes:
> When the conversion function doesn't work, any attempt to send any text
> to the client will fail.

Ah, now I remember: we arranged to short-circuit translation of the
error message when we were in this situation. But it will still get
passed through the encoding converter (rather uselessly, if it's all
ASCII). I wonder how ugly it would be to try to suppress encoding
conversion as well?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Chris Browne 2009-02-27 16:07:47 Re: Support platform of PostgresSQL 8.1.9 under IBM AIX 5.3
Previous Message Heikki Linnakangas 2009-02-27 15:51:01 Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-02-27 16:10:15 Re: B-tree "finish incomplete split" bug
Previous Message Heikki Linnakangas 2009-02-27 15:51:01 Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions