Can a pl/perl function return NULL? - Mailing list pgsql-general

From Jeff Eckermann
Subject Can a pl/perl function return NULL?
Date
Msg-id 02cc01c136f8$671763e0$279c10ac@INTERNAL
Whole thread Raw
Responses Re: Can a pl/perl function return NULL?
List pgsql-general
I sure hope so, because I want to index the results of the function, and I
don't want the "nothing" results to be counted in query plans.
I thought "return undef" might do it, but that wasn't recognized as a NULL
in my test.
I can write a pl/pgsql function, but that will take at least five times as
long in this case :-)


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: template0 and template1 databases
Next
From: "Marc G. Fournier"
Date:
Subject: Some changes to CVSup and AnonCVS access ...