Re: How to use CreateFunctionStmt's RETURN TABLE?

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: _ʯͷ <tanjia76(at)hotmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: How to use CreateFunctionStmt's RETURN TABLE?
Date: 2011-07-26 07:58:42
Message-ID: 4E2E73B2.6090304@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 is documented at:
http://www.postgresql.org/docs/9.0/static/sql-createfunction.html

There's an example using that syntax on that page.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nikhil Sontakke 2011-07-26 08:12:16 Re: Check constraints on partition parents only?
Previous Message _石头 2011-07-26 07:22:50 How to use CreateFunctionStmt's RETURN TABLE?