pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Joel Burton <jburton@scw.org>
Cc: pgsql-general@postgreSQL.org
Cc: pgsql-sql@postgreSQL.org
Subject: Re: All function parameters become NULL if one is?
Date: Sun, 17 Sep 2000 22:37:35 +0200 (CEST)
Message-ID: <Pine.LNX.4.21.0009171644160.576-100000@peter> (raw)
In-Reply-To: <200009162247.e8GMlan28506@olympus.scw.org>

Joel Burton writes:

> I have a function that takes two text parameters. If both of these 
> are non-null, everything works fine. However, if one of these two 
> parameters is null and one is not, the function receives both as null.

Worse, no matter what the function does, the return value is also null.

> Is this intentional? Is there a way around this? 

Wait for 7.1.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/




view thread (2+ messages)

Message-ID: <Pine.LNX.4.21.0009171644160.576-100000@peter>
Permalink:  ../Pine.LNX.4.21.0009171644160.576-100000@peter/
Also on:    postgresql.org/message-id/Pine.LNX.4.21.0009171644160.576-100000@peter

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: peter_e@gmx.net, jburton@scw.org, pgsql-general@postgreSQL.org
  Subject: Re: All function parameters become NULL if one is?
  In-Reply-To: <Pine.LNX.4.21.0009171644160.576-100000@peter>
  References: <200009162247.e8GMlan28506@olympus.scw.org> <Pine.LNX.4.21.0009171644160.576-100000@peter>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox