setof (more than one column)

Поиск
Список
Период
Сортировка
От Reinoud van Leeuwen
Тема setof (more than one column)
Дата
Msg-id 10000.194.109.0.126.1010067071.squirrel@webmail.xs4all.nl
обсуждение исходный текст
Список pgsql-hackers
Hi,

I am doing some tests with functions in 7.2b4. I got some stuff to work 
that returns 'setof text' but I was wondering whether it is possble to let 
the function return more than one column, something like:

create function myfunc (integer) returns setof (text, integer)

or

create function myfunc (integer) returns setof text, integer

I've searched the docs about the syntaxt of the 'setof' keyword but could 
not find really much.

TIA,

Reinoud van Leeuwen



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

Предыдущее
От: "Julian Mehnle, Linksystem Muenchen"
Дата:
Сообщение: ODBC connect string format differs between ODBC driver versions?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SET DATESTYLE to time_t style for client libraries?