set returning functions in v7.3

Поиск
Список
Период
Сортировка
От Együd Csaba
Тема set returning functions in v7.3
Дата
Msg-id 000501c2d38b$cb078de0$200a0a0a@notebook
обсуждение исходный текст
Ответы Re: set returning functions in v7.3
Список pgsql-general
Hello,
I have a problem with "set returning functions".
I have a table t_groups. I would like to get the rows of it. I try to call
this function:

create or replace function getgroups() returns setof t_groups as '
  select * from t_groups;
' language 'sql';

in the this way:

select * from getgroups();

It should have returned with all the rows from t_groups. It did not. Where
is the problem?
If ther would be anybody who can help me I wuld be greatful.

Thank you very much.
Best regards, Csaba Egyud



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

Предыдущее
От: Greg Stark
Дата:
Сообщение: index scan with index cond on first column doesn't recognize sort order of second column
Следующее
От: Brandon Craig Rhodes
Дата:
Сообщение: Re: set returning functions in v7.3