Re: How can I return a NULL value from a function?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chongbing Liu <cliu(at)cs(dot)nmsu(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: How can I return a NULL value from a function?
Date: 2003-12-19 15:19:30
Message-ID: 9463.1071847170@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chongbing Liu <cliu(at)cs(dot)nmsu(dot)edu> writes:
> Hello, can you please tell me how to return a NULL value
> from a function?

You can't unless you use the V1 function calling convention. See the
programmer's guide.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2003-12-19 15:28:04 Re: replace all with * in pg_hba.conf
Previous Message Hiroshi Inoue 2003-12-19 14:30:40 Re: Why isn't DECLARE CURSOR ... FOR UPDATE supported?