Re: How to use CreateFunctionStmt's RETURN TABLE?

Поиск
Список
Период
Сортировка
От Dickson S. Guedes
Тема Re: How to use CreateFunctionStmt's RETURN TABLE?
Дата
Msg-id CAHHcrepcagQSyEoCc7xqzFpmhLCE-5JvH+zPOUXtvSAe-Xj2Xw@mail.gmail.com
обсуждение исходный текст
Ответ на How to use CreateFunctionStmt's RETURN TABLE?  ("_石头" <tanjia76@qq.com>)
Список pgsql-hackers
2011/7/26 _石头 <tanjia76@qq.com>:
[... cut ...]
>           I do not know how to use the second syntax:RETURNS TABLE '('
> table_func_column_list ')' createfunc_opt_list opt_definition.
>           May someone help me to write a simple example of this syntax!
>  Thank you very much. Looking forward for your help!

(I'm supposing that you are talking about the syntax of 'CREATE
FUNCTION' itself and not about the bison entry in that file.)

See the docs [1] and this post [2]. They could help you.

[1] http://www.postgresql.org/docs/current/static/sql-createfunction.html
[2] http://www.postgresonline.com/journal/archives/201-returns-table.html

Best regards,
--
Dickson S. Guedes
mail/xmpp: guedes@guedesoft.net - skype: guediz
http://guedesoft.net - http://www.postgresql.org.br


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: cheaper snapshots
Следующее
От: Robert Haas
Дата:
Сообщение: Re: cheaper snapshots