From: Andrea Austa <aausta@athena.polito.it>
To: pgsql-interfaces@postgresql.org
Subject: Can functions return NULL value?
Date: Mon, 8 May 2000 23:07:15 +0200
Message-ID: <20000508230715.D1035@giuditta.trustnoone.org> (raw)
Can a function, written in C, return a NULL value?
I would like write code like this:
text * getnull (text * t)
{
return NULL;
}
but it doesn't work, the backend terminates abnormally.
Thanks a lot
--
Andrea Austa - aausta@athena.polito.it
Debian GNU/Linux User
--
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: aausta@athena.polito.it
Subject: Re: Can functions return NULL value?
In-Reply-To: <20000508230715.D1035@giuditta.trustnoone.org>
* 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