how to return more than 1 arg with a function ?

From: Feite Brekeveld <feite(dot)brekeveld(at)osiris-it(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: how to return more than 1 arg with a function ?
Date: 2001-02-17 00:16:16
Message-ID: 3A8DC2D0.E19C7F6C@osiris-it.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

....
I want to return mre than 1 arg

create function func(varchar)
--> returns var1, var2 ....
as '
...
'
language 'sql';

How to deal with the return : The manual says to use SETOF can't figure
out how that works no examples are given.

Feite

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Barnard 2001-02-17 00:22:33 Re: Number of Connections
Previous Message Konstantinos Agouros 2001-02-16 23:35:12 Re: How to use postgres 7.0.3 with -F?