Re: backend process crash - PL/pgSQL functions - parsing problem? - Mailing list pgsql-general

From Tom Lane
Subject Re: backend process crash - PL/pgSQL functions - parsing problem?
Date
Msg-id 15793.1044566157@sss.pgh.pa.us
Whole thread Raw
In response to backend process crash - PL/pgSQL functions - parsing problem?  (damonhart@yahoo.com (Damon Hart))
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Cannot insert a duplicate key into unique index pg_calss_oid_index
Next
From: Greg Stark
Date:
Subject: optimizer not eliminating redundant sorts