Re: backend process crash - PL/pgSQL functions - parsing problem?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: backend process crash - PL/pgSQL functions - parsing problem?
Дата
Msg-id 15793.1044566157@sss.pgh.pa.us
обсуждение исходный текст
Ответ на backend process crash - PL/pgSQL functions - parsing problem?  (damonhart@yahoo.com (Damon Hart))
Список pgsql-general
damonhart@yahoo.com (Damon Hart) writes:
> The postgresql log indicates that the backend is crashing with
> SIGSEGV. This is postgreSQL 7.2 running on Linux (Intel, roughly
> Mandrake 8.2)

> I adjusted whatever came to mind in the functions themselves until,
> just by luck, I found that if I shortened the length of the function
> names, the crash disappeared.

I think this is probably due to this bug:

2002-05-05 13:38  tgl

    * src/pl/plpgsql/src/pl_funcs.c (REL7_2_STABLE):
    plpgsql_dstring_append was broken for long strings.

If so, updating to 7.2.2 or later should fix it.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Cannot insert a duplicate key into unique index pg_calss_oid_index
Следующее
От: Greg Stark
Дата:
Сообщение: optimizer not eliminating redundant sorts