From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sandro Dentella <sandro.dentella@tin.it>
Cc: pgsql-interfaces@postgresql.org
Cc: pgsql-docs@postgresql.org
Subject: Re: [INTERFACES] function returning NULL?
Date: Mon, 30 Apr 2001 10:24:24 -0400
Message-ID: <14767.988640664@sss.pgh.pa.us> (raw)
In-Reply-To: <20010430105600.B6311@bluff.ermit.it>
References: <20010430105600.B6311@bluff.ermit.it>
Sandro Dentella <sandro.dentella@tin.it> writes:
> I'm trying to create a function that should return a date, and occasionally
> NULL value. I can't see how to do that. I'm using pl/tcl.
You need the "return_null" command, which is new in 7.1 --- before that
there was no way to do it in pltcl.
"return_null" seems to be missing from the documentation :-(. No wonder
you couldn't find it.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, sandro.dentella@tin.it, pgsql-docs@postgresql.org
Subject: Re: [INTERFACES] function returning NULL?
In-Reply-To: <14767.988640664@sss.pgh.pa.us>
* 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