BUG or feature? - Mailing list pgsql-bugs

From Max Vaschenko
Subject BUG or feature?
Date
Msg-id 3A813EDD.EF17B46A@nino.ru
Whole thread Raw
Responses Re: BUG or feature?
List pgsql-bugs
Hi.
Bug or feature?

CREATE FUNCTION upd (text, text) RETURNS text AS '
  BEGIN
    RETURN $1;
  END
' LANGUAGE 'plpgsql';

SELECT upd('aaa','bbb');
aaa

SELECT upd(null,'bbb');
<null>

All seems ok, but how about next ?

SELECT upd('aaa',null);
<null>


--
ó Õ×ÁÖÅÎÉÅÍ, ÷ÁÝÅÎËÏ íÁËÓÉÍ,
îÉÖÅÇÏÒÏÄÓËÉÅ ÉÎÆÏÒÍÁÃÉÏÎÎÙÅ ÓÅÔÉ
(8312) 30-19-05, 34-00-02, 30-09-73

With best regards, Max Vaschenko,
Nizhny Novgorod Information Networks.

pgsql-bugs by date:

Previous
From: Peter T Mount
Date:
Subject: Re: 7.1beta4 jdbc problem on freebsd 4.2 with JSDK 1.1.8.
Next
From: "Ian deSouza"
Date:
Subject: Problem when calling setObject on Timestamp column with JDBC driver