OidFunctionCall* returning null. - Mailing list pgsql-hackers

From David Zwarg
Subject OidFunctionCall* returning null.
Date
Msg-id CANSnHN2Gg3e=HHfgSVEEJ7VS-rN_YkQgZj=JaPq7PRV=kCFwLw@mail.gmail.com
Whole thread Raw
Responses Re: OidFunctionCall* returning null.
List pgsql-hackers
Hello,<br /><br />I have been working with the PostGIS developers, and I'm implementing a facility to use 'callback'
functionsto process cells in a raster image.<br /><br />I have implemented this behind the scenes as a C function that
callsa provided sql regprocedure with OidFunctionCall*. I have been reading the docs, and it states that "Note that
neitherarguments nor result are allowed to be NULL."<br /><br />In this use case, there are legitimate reasons to
returnNULL from a 'callback' function -- is there an alternative method that I should use, instead of
OidFunctionCall*?<br/><br />Thanks,<br />David<br /> 

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: WIP: Collecting statistics on CSV file data
Next
From: "Kevin Grittner"
Date:
Subject: Re: testing ProcArrayLock patches