Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dugkn-0006Bi-Sq for pgsql-sql@arkaria.postgresql.org; Wed, 20 Sep 2017 15:17:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dugkn-0008AT-Dx for pgsql-sql@arkaria.postgresql.org; Wed, 20 Sep 2017 15:17:33 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dugjl-0003hi-Hj for pgsql-sql@postgresql.org; Wed, 20 Sep 2017 15:16:29 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dugjg-0007UG-Qv for pgsql-sql@postgresql.org; Wed, 20 Sep 2017 15:16:28 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 56353877449D for ; Wed, 20 Sep 2017 08:16:24 -0700 (MST) Date: Wed, 20 Sep 2017 08:16:24 -0700 (MST) From: athinivas To: pgsql-sql@postgresql.org Message-ID: <1505920584351-0.post@n3.nabble.com> Subject: SETOF any table records AS return in pgSQL functions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org 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 -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql