Re: invalid UTF-8 via pl/perl

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hannu Krosing <hannu@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2010-01-03T17:44:32Z
Lists: pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>   
>> One thing that I am pondering is: how does SPI handle things if the 
>> client encoding and server encoding are not the same?
>>     
>
> What?  client_encoding is not used anywhere within the backend.
> Everything should be server_encoding.
>
> 			
>   

Oh, for some reason I thought the translation was done in the scanner. 
Sorry for the noise.

cheers

andrew