Re: How can I return a NULL value from a function? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: How can I return a NULL value from a function?
Date
Msg-id 9463.1071847170@sss.pgh.pa.us
Whole thread Raw
In response to How can I return a NULL value from a function?  (Chongbing Liu <cliu@cs.nmsu.edu>)
Responses How can I return a pointer to a use structure from a function  (Chongbing Liu <cliu@cs.nmsu.edu>)
List pgsql-hackers
Chongbing Liu <cliu@cs.nmsu.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


pgsql-hackers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: Re: Why isn't DECLARE CURSOR ... FOR UPDATE supported?
Next
From: "Marc G. Fournier"
Date:
Subject: Re: replace all with * in pg_hba.conf