Re: BUG #6185: Segmentation fault with NULL string columns

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #6185: Segmentation fault with NULL string columns
Дата
Msg-id 1314728550-sup-7284@alvh.no-ip.org
обсуждение исходный текст
Ответ на BUG #6185: Segmentation fault with NULL string columns  ("Isaac Jurado" <ijurado@econcept.es>)
Ответы Re: BUG #6185: Segmentation fault with NULL string columns  (Isaac Jurado <ijurado@econcept.es>)
Список 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@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 <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #6185: Segmentation fault with NULL string columns
Следующее
От: "Lampa"
Дата:
Сообщение: BUG #6186: out of memory while analyze