Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group