Re: invalid UTF-8 via pl/perl

Tom Lane <tgl@sss.pgh.pa.us>

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

			regards, tom lane