how to return more than 1 arg with a function ? - Mailing list pgsql-general

From Feite Brekeveld
Subject how to return more than 1 arg with a function ?
Date
Msg-id 3A8DC2D0.E19C7F6C@osiris-it.nl
Whole thread Raw
List 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




pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: How to use gethostbyname()
Next
From: Jean-Christophe Boggio
Date:
Subject: Weird indices