Re: Calling void functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Calling void functions
Дата
Msg-id 10900.1175532266@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Calling void functions  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-sql
Peter Eisentraut <peter_e@gmx.net> writes:
> I'm informed that the last statement of a function that returns void cannot be 
> a SELECT.  How else is one supposed to call another function which also 
> returns void?

Hmm, seems like the best answer is to rejigger the order of the tests in
check_sql_fn_retval.  I think that logic was designed before we had an
idea of VOID-returning functions.
        regards, tom lane


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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: Update problem.
Следующее
От: "sql4-en.narod.ru"
Дата:
Сообщение: SQL4. I ask you to help in development (or critic).