Another plpgsql crash

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Another plpgsql crash
Дата
Msg-id 200105091315.f49DFG067908@hub.org
обсуждение исходный текст
Ответы Re: Another plpgsql crash  (Robert Hentosh <hentosh@io.com>)
Re: Another plpgsql crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
(bs@niggard.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

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: PostgreSQL 7.1.1: Backend crash when calling plpgsql function
Следующее
От: Robert Hentosh
Дата:
Сообщение: Re: PostgreSQL 7.1.1: Backend crash when calling plpgsql function