Re: [HACKERS] How to use CreateFunctionStmt's RETURN TABLE?

2011-07-28 Thread Dickson S. Guedes
2011/7/26 _石头 : [... 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! (

[HACKERS] How to use CreateFunctionStmt's RETURN TABLE?

2011-07-26 Thread _石头
Hello Guys, Lately, I saw this syntax in ./src/backend/parser/Gray.y as following! CreateFunctionStmt: CREATE opt_or_replace FUNCTION func_name func_args_with_defaults RETURNS func_return createfunc_opt_list opt_definition

[HACKERS] 回复: [HACKERS] How to use CreateFunctionStmt's RETURN TABLE?

2011-07-26 Thread _石头
thank you! -- 原始邮件 -- 发件人: "Heikki Linnakangas"; 发送时间: 2011年7月26日(星期二) 下午3:58 收件人: "_??"; 抄送: "pgsql-hackers"; 主题: Re: [HACKERS] How to use CreateFunctionStmt's RETURN TABLE? On 26.07.2011 10:22, _?? wrote: >

Re: [HACKERS] How to use CreateFunctionStmt's RETURN TABLE?

2011-07-26 Thread Heikki Linnakangas
On 26.07.2011 10:22, _ʯͷ wrote: I do not know how to use the second syntax:RETURNS TABLE '(' table_func_column_list ')' createfunc_opt_list opt_definition. This is hardly a question related to PostgreSQL development, pgsql-general mailing list would've been more appropriate. This

[HACKERS] How to use CreateFunctionStmt's RETURN TABLE?

2011-07-26 Thread _石头
Hello Guys, Lately, I saw this syntax in ./src/backend/parser/Gray.y as following! CreateFunctionStmt: CREATE opt_or_replace FUNCTION func_name func_args_with_defaults RETURNS func_return createfunc_opt_list opt_definition