On Wed, Aug 27, 2003 at 09:58:00 +0200,
Christian Traber <christian@traber-net.de> wrote:
> Hi,
>
> I'll try to switch from Oracle to postgres for some small applications.
> Is it possible to build functions like Oracle's nvl or decode with pgplsql?
> How can I make a function like nvl that works for every datatype?
You can use coalesce to do what nvl does.