Kai Henningsen wrote: > When locale is set to de_DE, every exception in plpgsql seems to lead > to an invalid-UTF-8-detected error. Presumably, this is because some > exception message includes non-ASCII and something confuses > encodings. > > Switching lc_messages to C works around the problem.
What is your server locale setting (SHOW lc_ctype), the server encoding of the affected database (SHOW server_encoding), the client_encoding (SHOW client_encoding) used when creating the function and when calling it? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]