Re: how made procedure returned different types of value?

Поиск
Список
Период
Сортировка
От Viktor Bojović
Тема Re: how made procedure returned different types of value?
Дата
Msg-id AANLkTi=a9FLkgVuDw0EG6pHO=oZzrL=JFOScmeQcAeby@mail.gmail.com
обсуждение исходный текст
Список pgsql-admin

On Wed, Dec 22, 2010 at 1:52 AM, <kubus__puchatek@tlen.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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Iñigo Martinez Lasala
Дата:
Сообщение: Re: Problems Upgrading from 8.2 to 9.0
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Optimizing Update with WHERE x IN (id1,id2,...)