Skip site navigation (1) Skip section navigation (2)

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 16:37:25
Message-ID: 20087.1235752645@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> writes:
> Tom Lane wrote:
>> I wonder how ugly it would be to try to suppress encoding
>> conversion as well?

> The error message might contain user data, which might contain non-ASCII 
> characters. Or maybe not, but it seems like a shaky assumption to make. 

The particular cases we are concerned about here will not.  In any case
it's a better result than dying without sending any message at all,
which would be the result of the patch you propose.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Heikki LinnakangasDate: 2009-02-27 16:57:27
Subject: Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions
Previous:From: Heikki LinnakangasDate: 2009-02-27 16:18:27
Subject: Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions

pgsql-bugs by date

Next:From: Heikki LinnakangasDate: 2009-02-27 16:57:27
Subject: Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions
Previous:From: Heikki LinnakangasDate: 2009-02-27 16:18:27
Subject: Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group