RETURN multiple columns in FUNCTION

From: Uro Gruber <uros(at)sir-mag(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: RETURN multiple columns in FUNCTION
Date: 2000-12-26 14:40:08
Message-ID: 59329997401.20001226154008@sir-mag.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

How can i create a function who returned more than one data.

For example if i do SELECT data1,data2 FROM table; i get two columns.

Now i want to have some function witn one argument and execute 4
queries and return data like if i manual execute those 4 queries.

data1 data2
something something
.
.
.

Thanks

Uros

Browse pgsql-general by date

  From Date Subject
Next Message T. Dekany 2000-12-26 15:15:01 how to show foreign keys of a table
Previous Message Adam Lang 2000-12-26 13:46:54 Re: postmasteralive()