RETURN multiple columns in FUNCTION - Mailing list pgsql-general

From Uro¹ Gruber
Subject RETURN multiple columns in FUNCTION
Date
Msg-id 59329997401.20001226154008@sir-mag.com
Whole thread Raw
List 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



pgsql-general by date:

Previous
From: "Adam Lang"
Date:
Subject: Re: postmasteralive()
Next
From: Ioseph Kim
Date:
Subject: How I can join between the other database's tables?