Postgres 8.3 Function returning a row with different number of colums

Поиск
Список
Период
Сортировка
Искать
От
Gianpiero Venditti
Тема
Postgres 8.3 Function returning a row with different number of colums
Дата
Msg-id
DUB106-W641B5B9B7D7D4C72ACE329D5380@phx.gbl
Ответ на
Список
Дерево обсуждения
Postgres 8.0 upgrade to 9.0 Atul Goel <Atul.Goel@iggroup.com>
Re: Postgres 8.0 upgrade to 9.0 Ognjen Blagojevic <ognjen.d.blagojevic@gmail.com>
Re: Postgres 8.0 upgrade to 9.0 Jaime Casanova <jaime@2ndquadrant.com>
Re: Postgres 8.0 upgrade to 9.0 John Cheng <johnlicheng@gmail.com>
Postgres 8.3 Function returning a row with different number of colums Gianpiero Venditti <stratio@hotmail.it>
Re: Postgres 8.3 Function returning a row with different number of colums David Johnston <polobo@yahoo.com>
Re: Postgres 8.3 Function returning a row with different number of colums Merlin Moncure <mmoncure@gmail.com>
Re: Postgres 8.3 Function returning a row with different number of colums Gianpiero Venditti <stratio@hotmail.it>
Re: Postgres 8.3 Function returning a row with different number of colums John R Pierce <pierce@hogranch.com>
Re: Postgres 8.0 upgrade to 9.0 Scott Marlowe <scott.marlowe@gmail.com>
Hello, I need to write a function that sometimes return a row with only a column and sometimes return a row with two columns.

Is it possible to do something like this with record type?

If it's not what's the best alternative to achieve such a result?

Thanks in advance for your help.


Gianpiero Venditti
В списке pgsql-general по дате отправления
От: Reuven M. Lerner
Дата:
От: David Johnston
Дата:
FAQ