Another plpgsql crash

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Another plpgsql crash
Date: 2001-05-09 13:15:16
Message-ID: 200105091315.f49DFG067908@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

(bs(at)niggard(dot)org) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Another plpgsql crash

Long Description
Ok, just found another one:
The function crashes, when the corresponding user is not found.

This one just looks too common, so i guess i messed up installation?

Sample Code
CREATE FUNCTION "new_news" (varchar ) RETURNS int4 AS '
DECLARE
letzte_nachricht_p INT4;
BEGIN
SELECT letzte_nachricht INTO letzte_nachricht_p FROM luser WHERE uid = $1;
END;
' LANGUAGE 'plpgsql';

No file was uploaded with this report

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Hentosh 2001-05-09 14:06:12 Re: PostgreSQL 7.1.1: Backend crash when calling plpgsql function
Previous Message pgsql-bugs 2001-05-09 12:54:03 PostgreSQL 7.1.1: Backend crash when calling plpgsql function