Can a pl/perl function return NULL?

Поиск
Список
Период
Сортировка
От Jeff Eckermann
Тема Can a pl/perl function return NULL?
Дата
Msg-id 02cc01c136f8$671763e0$279c10ac@INTERNAL
обсуждение исходный текст
Ответы Re: Can a pl/perl function return NULL?  (Alex Pilosov <alex@pilosoft.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: template0 and template1 databases
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Some changes to CVSup and AnonCVS access ...