Re: [DOCS] Missing RETURNS clause in function declaration

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [DOCS] Missing RETURNS clause in function declaration
Дата
Msg-id 861.1497888102@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [DOCS] Missing RETURNS clause in function declaration  (ivan.ciobotar@gmail.com)
Список pgsql-docs
ivan.ciobotar@gmail.com writes:
> On page https://www.postgresql.org/docs/9.6/static/plpgsql-porting.html, the
> statement starting with CREATE OR REPLACE FUNCTION cs_parse_url (towards the
> middle of the page) is missing the RETURNS clause.

That's fine --- the OUT parameters implicitly define the return type.

            regards, tom lane


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

Предыдущее
От: ivan.ciobotar@gmail.com
Дата:
Сообщение: [DOCS] Missing RETURNS clause in function declaration
Следующее
От: gerardmatt@gmail.com
Дата:
Сообщение: [DOCS] nothing ever works