Can not use NULL values at all

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Can not use NULL values at all
Дата
Msg-id 200010271814.e9RIEFc53013@hub.org
обсуждение исходный текст
Список pgsql-bugs
PL/pgSQL functions: NULL parameter trouble (vpryadkin@sectorbase.com) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
Can not use NULL values at all

Long Description
If one of parameters is NULL, all another parameters
take NULL values regardless of transmitted NOT NULL values.


Sample Code
create function x (text,text,text) returns text as '
begin
 return $1;
end;
 ' language 'plpgsql';

x ('aa', 'bb', '');       -- returns 'aa', Ok
x ('aa', null, 'qq');     -- returns NULL !!!

No file was uploaded with this report

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

Предыдущее
От: "rob"
Дата:
Сообщение: Bug report #53
Следующее
От: Darcy Buskermolen
Дата:
Сообщение: Re: Updating multiple bool values crashes backend