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

BUG or feature?

From: Max Vaschenko <max(at)nino(dot)ru>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG or feature?
Date: 2001-02-07 12:26:05
Message-ID: 3A813EDD.EF17B46A@nino.ru (view raw or flat)
Thread:
Lists: 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.

Responses

pgsql-bugs by date

Next:From: William BoyleDate: 2001-02-07 14:50:15
Subject: Re: round - timestamp bug
Previous:From: Peter T MountDate: 2001-02-07 09:02:20
Subject: Re: 7.1beta4 jdbc problem on freebsd 4.2 with JSDK 1.1.8.

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