| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Isaac Jurado <ijurado(at)econcept(dot)es> |
| Cc: | pgsql-bugs <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: BUG #6185: Segmentation fault with NULL string columns |
| Date: | 2011-08-30 18:22:56 |
| Message-ID: | 1314728550-sup-7284@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
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: ijurado(at)econcept(dot)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 <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2011-08-30 18:33:17 | Re: BUG #6187: Select query stuck |
| Previous Message | Heikki Linnakangas | 2011-08-30 18:21:03 | Re: BUG #6185: Segmentation fault with NULL string columns |