Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions
Date
Msg-id 19401.1235750196@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-bugs
Heikki Linnakangas <heikki.linnakangas@enterprisedb.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

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions