Re: how made procedure returned different types of value?

From: Viktor Bojović <viktor(dot)bojovic(at)gmail(dot)com>
To: kubus__puchatek(at)tlen(dot)pl
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: how made procedure returned different types of value?
Date: 2010-12-22 12:04:50
Message-ID: AANLkTi=a9FLkgVuDw0EG6pHO=oZzrL=JFOScmeQcAeby@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Dec 22, 2010 at 1:52 AM, <kubus__puchatek(at)tlen(dot)pl> wrote:

> In postgres im beginer .
>
> How write procedure returned different types of value?
>
> i need function to select different data types from table columns and
> returned.
>
> i try overload name of function but its bad idea.
>
> it is possible?
>
>
>
> anybody?
>
>
>

Maybe you can use custom types and store different results into that custom
type container which will be returned by your function.

--
---------------------------------------
Viktor Bojović
---------------------------------------
Wherever I go, Murphy goes with me

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2010-12-22 15:23:27 Re: Optimizing Update with WHERE x IN (id1,id2,...)
Previous Message Iñigo Martinez Lasala 2010-12-22 11:55:11 Re: Problems Upgrading from 8.2 to 9.0