| От | Brandon Craig Rhodes |
|---|---|
| Тема | Re: set returning functions in v7.3 |
| Дата | |
| Msg-id | w6heb8t4vo.fsf@guinness.ts.gatech.edu обсуждение |
| Ответ на | set returning functions in v7.3 (Együd Csaba <csegyud@freemail.hu>) |
| Список | pgsql-general |
Együd Csaba <csegyud@freemail.hu> writes: > I have a problem with "set returning functions". > > 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? This works for me with the most recent version of Postgresql (7.3.2); what version are you using? Are you sure the table is not empty? -- Brandon Craig Rhodes http://www.rhodesmill.org/brandon Georgia Tech brandon@oit.gatech.edu
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера