Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group