returning multiple values from a plpgsql function?

From: "Celia McInnis" <celia(at)drmath(dot)ca>
To: pgsql-novice(at)postgresql(dot)org
Subject: returning multiple values from a plpgsql function?
Date: 2005-06-09 19:42:21
Message-ID: 20050609194026.M90366@drmath.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Is there any way to return multiple values from a plpgsql function? Ideally
I'd like to be able to return two arrays and a scalar value rather than
having to pack them into a single longer array.

Thanks for your help,
Celia McInnis

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2005-06-09 20:06:58 Re: Function debugging question
Previous Message Ennio-Sr 2005-06-09 19:39:46 How not to display system tables?