The following bug has been logged online:
Bug reference: 3716
Logged by: Andreas Pflug
Email address: pgadmin(at)pse-consulting(dot)de
PostgreSQL version: 8.2.4
Operating system: Linux,Windows
Description: utf8 crash with replace
Details:
If replace is used with UTF8 client_encoding, searching for a malformed
string, the backend will crash.
SELECT replace('rger', chr(195), 'Ae')