Received: from giuditta.trustnoone.org (root@[212.171.112.122]) by hub.org (8.9.3/8.9.3) with ESMTP id TAA76376 for ; Mon, 8 May 2000 19:11:38 -0400 (EDT) (envelope-from aausta@athena.polito.it) Received: (from andrea@localhost) by giuditta.trustnoone.org (8.9.3/8.9.3/Debian/GNU) id XAA03331 for pgsql-interfaces@postgresql.org; Mon, 8 May 2000 23:07:28 +0200 Date: Mon, 8 May 2000 23:07:15 +0200 From: Andrea Austa To: pgsql-interfaces@postgresql.org Subject: Can functions return NULL value? Message-ID: <20000508230715.D1035@giuditta.trustnoone.org> Mail-Followup-To: pgsql-interfaces@postgresql.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Archive-Number: 200005/71 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 --