Gavin Sherry <swm@linuxworld.com.au> writes:
> Here's another interesting encoding issue. I cannot recall having seen it
> on the lists.
This problem has been mentioned before, eg here
http://archives.postgresql.org/pgsql-hackers/2005-03/msg01004.php
(that whole thread is relevant to the problem).
But I agree it's not well documented.
regards, tom lane