Excerpts from Isaac Jurado's message of mar ago 30 05:51:55 -0300 2011: > > The following bug has been logged online: > > Bug reference: 6185 > Logged by: Isaac Jurado > Email address: ijur...@econcept.es > PostgreSQL version: 8.4.8 > Operating system: Ubuntu 10.04.03 LTS (x86_64) > Description: Segmentation fault with NULL string columns > Details: > > Here's the script to make it fail: > > CREATE DATABASE killme; > \c killme > CREATE FUNCTION to_ascii(bytea, name) RETURNS text AS 'to_ascii_encname' > LANGUAGE internal;
Seems you neglected to mark the function STRICT. -- Álvaro Herrera <alvhe...@commandprompt.com> The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs