Re: function returning NULL?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: function returning NULL?
Дата
Msg-id 14767.988640664@sss.pgh.pa.us
обсуждение исходный текст
Ответ на function returning NULL?  (Sandro Dentella <sandro.dentella@tin.it>)
Список pgsql-interfaces
Sandro Dentella <sandro.dentella@tin.it> writes:
> I'm trying to create a function that should return a date, and occasionally
> NULL value. I can't see how to do that. I'm using pl/tcl.

You need the "return_null" command, which is new in 7.1 --- before that
there was no way to do it in pltcl.

"return_null" seems to be missing from the documentation :-(.  No wonder
you couldn't find it.

            regards, tom lane

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: libpgtcl and passwords
Следующее
От: Constantin Teodorescu
Дата:
Сообщение: MULTIPLE OUTER JOIN SYNTAX :-( can't quess it