SETOF any table records AS return in pgSQL functions

From: athinivas <athinivas(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: SETOF any table records AS return in pgSQL functions
Date: 2017-09-20 15:16:24
Message-ID: 1505920584351-0.post@n3.nabble.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

hi,

Could anyone say pgSQL equivalent of SELECT * FROM any_table inside stored
procedure in MySQL ??

PS: I'm able to understand only functions are there in pgSQL. But couldn't
get a way for SETOF polymorphic columns inside functions.

Thanks athi

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-sql-f2142323.html

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message David G. Johnston 2017-09-20 16:20:27 Re: SETOF any table records AS return in pgSQL functions
Previous Message Steve Midgley 2017-09-17 03:59:19 Re: Odd sql error ..