Re: how to return whole table from Function not just the id integer column

From: Samuel Gendler <sgendler(at)ideasculptor(dot)com>
To: Rehan Saleem <pk_rehan(at)yahoo(dot)com>
Cc: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: how to return whole table from Function not just the id integer column
Date: 2012-01-19 10:33:34
Message-ID: CAEV0TzBG98B_W6VUw9PyMG_u=-GBFcdNWd-S-_jE_taruggwYg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, Jan 19, 2012 at 1:57 AM, Rehan Saleem <pk_rehan(at)yahoo(dot)com> wrote:

> hi ,
>
> how can i return the whole user table from this function not just the id . thanks
>
> Chapter 39, specifically 39.3, of the postgresql documentation provides
all of the information necessary to answer this question. If, after
reading that chapter and attempting to solve the problem yourself, you
still have no success, then please post your question to the list along
with your best attempt at a solution. You cannot expect to make efficient
use of a sophisticated rdbms without first reading at least the most
relevant sections of the documentation, and the mailing lists do not have
enough experienced users to devote bandwidth to doing your work for you.

http://www.postgresql.org/docs/current/static/plpgsql-declarations.html

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Gary Stainburn 2012-01-19 15:11:46 Re: date range to set of dates expansion
Previous Message Rehan Saleem 2012-01-19 09:57:09 how to return whole table from Function not just the id integer column